AdoS0PriorityRuleDtos.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. namespace Admin.NET.Plugin.AiDOP.Dto.S0.Sales;
  2. public class AdoS0PriorityRuleQueryDto
  3. {
  4. public long? CompanyRefId { get; set; }
  5. public long? FactoryRefId { get; set; }
  6. public string? Keyword { get; set; }
  7. public bool? IsEnabled { get; set; }
  8. public int Page { get; set; } = 1;
  9. public int PageSize { get; set; } = 20;
  10. }
  11. public class AdoS0PriorityRuleUpsertDto
  12. {
  13. public long CompanyRefId { get; set; }
  14. public long FactoryRefId { get; set; }
  15. public string Code { get; set; } = string.Empty;
  16. public string Name { get; set; } = string.Empty;
  17. public int PriorityLevel { get; set; }
  18. public string SortDirection { get; set; } = "asc";
  19. public string? SourceEntity { get; set; }
  20. public string? SourceField { get; set; }
  21. public string? SourceFieldType { get; set; }
  22. public string? SourceLinkField { get; set; }
  23. public string? WorkOrderField { get; set; }
  24. public string? WorkOrderFieldType { get; set; }
  25. public string? WorkOrderLinkField { get; set; }
  26. /// <summary>客户类型(写入 RuleExpr JSON)</summary>
  27. public string? CustomerType { get; set; }
  28. /// <summary>订单类型(写入 RuleExpr JSON)</summary>
  29. public string? OrderType { get; set; }
  30. /// <summary>到期状态(写入 RuleExpr JSON)</summary>
  31. public string? DueStatus { get; set; }
  32. public string? Remark { get; set; }
  33. public bool IsEnabled { get; set; } = true;
  34. }
  35. public class AdoS0PriorityRuleToggleDto
  36. {
  37. public bool IsEnabled { get; set; }
  38. }