| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- namespace Admin.NET.Plugin.AiDOP.Dto.S0.Sales;
- public class AdoS0PriorityRuleQueryDto
- {
- public long? CompanyRefId { get; set; }
- public long? FactoryRefId { get; set; }
- public string? Keyword { get; set; }
- public bool? IsEnabled { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 20;
- }
- public class AdoS0PriorityRuleUpsertDto
- {
- public long CompanyRefId { get; set; }
- public long FactoryRefId { get; set; }
- [MaxLength(100)]
- public string Code { get; set; } = string.Empty;
- [MaxLength(200)]
- public string Name { get; set; } = string.Empty;
- public int PriorityLevel { get; set; }
- [MaxLength(10)]
- public string SortDirection { get; set; } = "asc";
- [MaxLength(200)]
- public string? SourceEntity { get; set; }
- [MaxLength(200)]
- public string? SourceField { get; set; }
- [MaxLength(100)]
- public string? SourceFieldType { get; set; }
- [MaxLength(200)]
- public string? SourceLinkField { get; set; }
- [MaxLength(200)]
- public string? WorkOrderField { get; set; }
- [MaxLength(100)]
- public string? WorkOrderFieldType { get; set; }
- [MaxLength(200)]
- public string? WorkOrderLinkField { get; set; }
- /// <summary>客户类型(写入 RuleExpr JSON,无 1:1 列长度,本批次不加 MaxLength)</summary>
- public string? CustomerType { get; set; }
- /// <summary>订单类型(写入 RuleExpr JSON,无 1:1 列长度,本批次不加 MaxLength)</summary>
- public string? OrderType { get; set; }
- /// <summary>到期状态(写入 RuleExpr JSON,无 1:1 列长度,本批次不加 MaxLength)</summary>
- public string? DueStatus { get; set; }
- [MaxLength(500)]
- public string? Remark { get; set; }
- public bool IsEnabled { get; set; } = true;
- }
- public class AdoS0PriorityRuleToggleDto
- {
- public bool IsEnabled { get; set; }
- }
|