| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- namespace Admin.NET.Plugin.AiDOP.Entity.DataPlatform;
- [SugarTable("mdp_sync_task", "MDP同步任务业务配置")]
- public class MdpSyncTask
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- 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; } = "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 int ConfigVersion { get; set; } = 1;
- public string? Description { get; set; }
- public DateTime CreateTime { get; set; }
- public DateTime UpdateTime { get; set; }
- }
- [SugarTable("mdp_sync_task_step", "MDP同步任务步骤配置")]
- public class MdpSyncTaskStep
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- public long TenantId { get; set; }
- public string TaskCode { get; set; } = string.Empty;
- 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 int Enabled { get; set; } = 1;
- public int SortOrder { get; set; }
- public string? Description { get; set; }
- public DateTime CreateTime { get; set; }
- public DateTime UpdateTime { get; set; }
- }
- [SugarTable("mdp_sync_task_schedule", "MDP同步任务调度业务配置")]
- public class MdpSyncTaskSchedule
- {
- [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- public long TenantId { get; set; }
- 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 int AutoEnabled { get; set; } = 1;
- public int ManualEnabled { get; set; } = 1;
- public int RetryEnabled { get; set; } = 1;
- 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 DateTime CreateTime { get; set; }
- public DateTime UpdateTime { get; set; }
- }
|