| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- namespace Admin.NET.Plugin.AiDOP.Entity.SmartOps;
- [SugarTable("ado_s1_dashboard_rebuild_job", "S1看板完整重算任务")]
- public class AdoS1DashboardRebuildJob
- {
- [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
- public long Id { get; set; }
- [SugarColumn(ColumnName = "tenant_id")]
- public long TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id")]
- public long FactoryId { get; set; } = 1;
- [SugarColumn(ColumnName = "status", Length = 20)]
- public string Status { get; set; } = "QUEUED";
- [SugarColumn(ColumnName = "trigger_type", Length = 20)]
- public string TriggerType { get; set; } = "MANUAL";
- [SugarColumn(ColumnName = "requested_by", IsNullable = true)]
- public long? RequestedBy { get; set; }
- [SugarColumn(ColumnName = "batch_id", Length = 100, IsNullable = true)]
- public string BatchId { get; set; }
- [SugarColumn(ColumnName = "transform_run_log_id", IsNullable = true)]
- public long? TransformRunLogId { get; set; }
- [SugarColumn(ColumnName = "stage_rows")]
- public int StageRows { get; set; }
- [SugarColumn(ColumnName = "standard_rows")]
- public int StandardRows { get; set; }
- [SugarColumn(ColumnName = "dwd_rows")]
- public int DwdRows { get; set; }
- [SugarColumn(ColumnName = "kpi_rows")]
- public int KpiRows { get; set; }
- [SugarColumn(ColumnName = "atomic_rows")]
- public int AtomicRows { get; set; }
- [SugarColumn(ColumnName = "current_stage", Length = 32)]
- public string CurrentStage { get; set; } = "QUEUED";
- [SugarColumn(ColumnName = "stage_index")]
- public int StageIndex { get; set; }
- [SugarColumn(ColumnName = "stage_total")]
- public int StageTotal { get; set; } = 5;
- [SugarColumn(ColumnName = "progress_percent")]
- public int ProgressPercent { get; set; }
- [SugarColumn(ColumnName = "progress_message", Length = 255, IsNullable = true)]
- public string ProgressMessage { get; set; }
- [SugarColumn(ColumnName = "last_progress_at", IsNullable = true)]
- public DateTime? LastProgressAt { get; set; }
- [SugarColumn(ColumnName = "failed_stage", Length = 32, IsNullable = true)]
- public string FailedStage { get; set; }
- [SugarColumn(ColumnName = "error_message", Length = 2000, IsNullable = true)]
- public string ErrorMessage { get; set; }
- [SugarColumn(ColumnName = "submitted_at")]
- public DateTime SubmittedAt { get; set; }
- [SugarColumn(ColumnName = "started_at", IsNullable = true)]
- public DateTime? StartedAt { get; set; }
- [SugarColumn(ColumnName = "finished_at", IsNullable = true)]
- public DateTime? FinishedAt { get; set; }
- [SugarColumn(ColumnName = "heartbeat_at", IsNullable = true)]
- public DateTime? HeartbeatAt { get; set; }
- [SugarColumn(ColumnName = "duration_ms", IsNullable = true)]
- public int? DurationMs { get; set; }
- [SugarColumn(ColumnName = "create_time")]
- public DateTime CreateTime { get; set; }
- [SugarColumn(ColumnName = "update_time")]
- public DateTime UpdateTime { get; set; }
- }
|