| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- namespace Admin.NET.Plugin.AiDOP.Dto.DataPlatform;
- public sealed class MdpSyncTaskListQuery
- {
- public string? Keyword { get; set; }
- public string? BusinessDomainCode { get; set; }
- public int? Status { get; set; }
- public int Page { get; set; } = 1;
- public int PageSize { get; set; } = 10;
- }
- public sealed class MdpSyncTaskListRow
- {
- public long Id { get; set; }
- public long TenantId { get; set; }
- public string TaskCode { get; set; } = string.Empty;
- public string TaskName { get; set; } = string.Empty;
- public string TaskType { get; set; } = string.Empty;
- public string? BusinessDomainCode { get; set; }
- public string? BusinessDomainName { get; set; }
- public string? ConsumerModules { get; set; }
- public string? SourceSystemCode { get; set; }
- public string? ServiceKey { get; set; }
- public string? JobCode { get; set; }
- public string? ScheduleJobId { get; set; }
- public int Status { get; set; }
- public int ConfigVersion { get; set; }
- public string? Description { get; set; }
- public string? ScheduleMode { get; set; }
- public bool AutoEnabled { get; set; }
- public bool ManualEnabled { get; set; }
- public string? LastRunStatus { get; set; }
- public DateTime? LastRunTime { get; set; }
- }
- public sealed class MdpSyncTaskUpsertInput
- {
- public string TaskCode { get; set; } = string.Empty;
- public string TaskName { get; set; } = string.Empty;
- public string TaskType { get; set; } = "SERVICE_SYNC";
- public string? BusinessDomainCode { get; set; }
- public string? BusinessDomainName { get; set; }
- public string? ConsumerModules { get; set; }
- public string? SourceSystemCode { get; set; }
- public string? ServiceKey { get; set; }
- public string? JobCode { get; set; }
- public string? ScheduleJobId { get; set; }
- public int Status { get; set; } = 1;
- public string? OwnerRole { get; set; }
- public string? Description { get; set; }
- }
- public sealed class MdpSyncTaskStepRow
- {
- public long? Id { get; set; }
- public string StepCode { get; set; } = string.Empty;
- public string StepName { get; set; } = string.Empty;
- public string StageType { get; set; } = string.Empty;
- public string? ServiceMethodKey { get; set; }
- public bool Enabled { get; set; } = true;
- public int SortOrder { get; set; }
- public string? Description { get; set; }
- }
- public sealed class MdpSyncTaskScheduleRow
- {
- public string TaskCode { get; set; } = string.Empty;
- public string? ScheduleJobId { get; set; }
- public string ScheduleMode { get; set; } = "CRON";
- public string? CronExpr { get; set; }
- public string? CronDesc { get; set; }
- public string Timezone { get; set; } = "Asia/Shanghai";
- public bool AutoEnabled { get; set; } = true;
- public bool ManualEnabled { get; set; } = true;
- public bool RetryEnabled { get; set; } = true;
- public int MaxRetryCount { get; set; } = 3;
- public int RetryIntervalSeconds { get; set; } = 300;
- public int TimeoutSeconds { get; set; } = 3600;
- public string? MisfirePolicy { get; set; }
- public string SyncWindowType { get; set; } = "FULL";
- public string? SyncWindowValue { get; set; }
- public DateTime? LastScheduleTime { get; set; }
- public DateTime? NextScheduleTime { get; set; }
- public string? AdminJobConfigJson { get; set; }
- public string? Description { get; set; }
- }
- public sealed class MdpSyncTaskRunInput
- {
- public string? Mode { get; set; }
- public string? Reason { get; set; }
- public long FactoryId { get; set; } = 1;
- }
|