using Admin.NET.Plugin.AiDOP.Entity.S8; namespace Admin.NET.Plugin.AiDOP.Dto.S8; public class AdoS8ConfigDraftCreateDto { public long TenantId { get; set; } = 1; public long FactoryId { get; set; } = 1; public string DraftCode { get; set; } = string.Empty; public string? DraftName { get; set; } public string WizardJson { get; set; } = string.Empty; public int? CurrentStep { get; set; } public string? Mechanism { get; set; } public string? StageCode { get; set; } public string? OrderFlowCode { get; set; } public string? ExceptionTypeCode { get; set; } public string? Remark { get; set; } } public class AdoS8ConfigDraftUpdateDto { public string? DraftName { get; set; } public string? WizardJson { get; set; } public int? CurrentStep { get; set; } public string? Mechanism { get; set; } public string? StageCode { get; set; } public string? OrderFlowCode { get; set; } public string? ExceptionTypeCode { get; set; } public string? Remark { get; set; } } public class AdoS8ConfigDraftListQueryDto { public long TenantId { get; set; } = 1; public long FactoryId { get; set; } = 1; public string? Status { get; set; } public int Page { get; set; } = 1; public int PageSize { get; set; } = 20; } public class AdoS8ConfigDraftListItemDto { public long Id { get; set; } public long TenantId { get; set; } public long FactoryId { get; set; } public string DraftCode { get; set; } = string.Empty; public string? DraftName { get; set; } public string Status { get; set; } = string.Empty; public int CurrentStep { get; set; } public string? Mechanism { get; set; } public string? StageCode { get; set; } public string? OrderFlowCode { get; set; } public string? ExceptionTypeCode { get; set; } public long? GeneratedRuleId { get; set; } public string? Remark { get; set; } public DateTime CreatedAt { get; set; } public DateTime? UpdatedAt { get; set; } } public class AdoS8ConfigDraftListResultDto { public List Items { get; set; } = new(); public int Total { get; set; } public int Page { get; set; } public int PageSize { get; set; } } public class AdoS8ConfigDraftDetailDto : AdoS8ConfigDraftListItemDto { public string WizardJson { get; set; } = string.Empty; } /// /// CONFIG-WIZARD-API-RULEPAYLOAD-CLEANUP-1:generate-rule 请求体已收口为 {}; /// 规则始终由后端基于 draft.wizard_json + 字典重建,不再接受前端构造的 RulePayload。 /// public class AdoS8ConfigDraftGenerateRuleDto { } public class AdoS8ConfigDraftGenerateRuleResultDto { public long RuleId { get; set; } public string RuleCode { get; set; } = string.Empty; public string DraftStatus { get; set; } = string.Empty; }