AdoS8SceneConfig.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S8;
  2. [SugarTable("ado_s8_scene_config", "S8 场景配置")]
  3. public class AdoS8SceneConfig
  4. {
  5. [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  6. public long Id { get; set; }
  7. [SugarColumn(ColumnName = "tenant_id", ColumnDataType = "bigint")]
  8. public long TenantId { get; set; }
  9. [SugarColumn(ColumnName = "factory_id", ColumnDataType = "bigint")]
  10. public long FactoryId { get; set; }
  11. [SugarColumn(ColumnName = "scene_code", Length = 64)]
  12. public string SceneCode { get; set; } = string.Empty;
  13. [SugarColumn(ColumnName = "scene_name", Length = 256)]
  14. public string SceneName { get; set; } = string.Empty;
  15. [SugarColumn(ColumnName = "enabled", ColumnDataType = "boolean")]
  16. public bool Enabled { get; set; } = true;
  17. [SugarColumn(ColumnName = "sort_no")]
  18. public int SortNo { get; set; }
  19. [SugarColumn(ColumnName = "created_at")]
  20. public DateTime CreatedAt { get; set; } = DateTime.Now;
  21. [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
  22. public DateTime? UpdatedAt { get; set; }
  23. }