| 1234567891011121314151617181920212223242526272829303132333435363738 |
- namespace Admin.NET.Plugin.AiDOP.Entity.SmartOps;
- [SugarTable("ado_mdp_rebuild_lock", "模块看板重算作用域锁")]
- public class AdoMdpRebuildLock
- {
- [SugarColumn(ColumnName = "lock_name", Length = 160, IsPrimaryKey = true)]
- public string LockName { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "module_code", Length = 8)]
- public string ModuleCode { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "tenant_id")]
- public long TenantId { get; set; }
- [SugarColumn(ColumnName = "factory_id")]
- public long FactoryId { get; set; }
- [SugarColumn(ColumnName = "holder_id", Length = 100, IsNullable = true)]
- public string HolderId { get; set; }
- [SugarColumn(ColumnName = "job_id", IsNullable = true)]
- public long? JobId { get; set; }
- [SugarColumn(ColumnName = "status", Length = 20)]
- public string Status { get; set; } = "FREE";
- [SugarColumn(ColumnName = "acquired_at", IsNullable = true)]
- public DateTime? AcquiredAt { get; set; }
- [SugarColumn(ColumnName = "heartbeat_at", IsNullable = true)]
- public DateTime? HeartbeatAt { get; set; }
- [SugarColumn(ColumnName = "create_time")]
- public DateTime CreateTime { get; set; }
- [SugarColumn(ColumnName = "update_time")]
- public DateTime UpdateTime { get; set; }
- }
|