| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- 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<AdoS8ConfigDraftListItemDto> 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;
- }
- /// <summary>
- /// CONFIG-WIZARD-API-RULEPAYLOAD-CLEANUP-1:generate-rule 请求体已收口为 {};
- /// 规则始终由后端基于 draft.wizard_json + 字典重建,不再接受前端构造的 RulePayload。
- /// </summary>
- 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;
- }
|