| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- 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; }
- }
|