AdoS8Dimension.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S8;
  2. [SugarTable("ado_s8_dimension", "S8 业务维度元数据")]
  3. public class AdoS8Dimension
  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 = "dimension_code", Length = 32)]
  12. public string DimensionCode { get; set; } = string.Empty;
  13. [SugarColumn(ColumnName = "dimension_name", Length = 128)]
  14. public string DimensionName { 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 = "remark", Length = 512, IsNullable = true)]
  20. public string? Remark { get; set; }
  21. [SugarColumn(ColumnName = "created_at")]
  22. public DateTime CreatedAt { get; set; } = DateTime.Now;
  23. [SugarColumn(ColumnName = "updated_at", IsNullable = true)]
  24. public DateTime? UpdatedAt { get; set; }
  25. }