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; } public string Code { get; set; } = string.Empty; public string Name { get; set; } = string.Empty; public int PriorityLevel { get; set; } public string SortDirection { get; set; } = "asc"; public string? SourceEntity { get; set; } public string? SourceField { get; set; } public string? SourceFieldType { get; set; } public string? SourceLinkField { get; set; } public string? WorkOrderField { get; set; } public string? WorkOrderFieldType { get; set; } public string? WorkOrderLinkField { get; set; } /// 客户类型(写入 RuleExpr JSON) public string? CustomerType { get; set; } /// 订单类型(写入 RuleExpr JSON) public string? OrderType { get; set; } /// 到期状态(写入 RuleExpr JSON) public string? DueStatus { get; set; } public string? Remark { get; set; } public bool IsEnabled { get; set; } = true; } public class AdoS0PriorityRuleToggleDto { public bool IsEnabled { get; set; } }