AdoSmartOpsHomeModule.cs 947 B

12345678910111213141516171819202122232425262728
  1. using Admin.NET.Core;
  2. namespace Admin.NET.Plugin.AiDOP.Entity;
  3. /// <summary>
  4. /// 九宫格单模块呈现模板(card_grid / table_list)。
  5. /// </summary>
  6. [SugarTable("ado_smart_ops_home_module", "九宫格模块呈现")]
  7. public class AdoSmartOpsHomeModule : ITenantIdFilter
  8. {
  9. [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true)]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnDescription = "租户")]
  12. public long? TenantId { get; set; }
  13. [SugarColumn(ColumnDescription = "工厂")]
  14. public long FactoryId { get; set; }
  15. [SugarColumn(ColumnDescription = "模块", Length = 8)]
  16. public string ModuleCode { get; set; } = string.Empty;
  17. [SugarColumn(ColumnDescription = "布局 card_grid|table_list", Length = 32)]
  18. public string LayoutPattern { get; set; } = "card_grid";
  19. [SugarColumn(ColumnDescription = "更新时间")]
  20. public DateTime UpdateTime { get; set; }
  21. }