| | |
| | | using System; |
| | | using SqlSugar; |
| | | |
| | | namespace NewPdaSqlServer.entity; |
| | | |
| | | /// <summary> |
| | | /// 菜单维护表 |
| | | /// 看板菜单配置表 (MES_SIMPLE) |
| | | /// </summary> |
| | | [SugarTable("MES_SIMPLE")] |
| | | public class MesSimple |
| | | { |
| | | /// <summary> |
| | | /// 自增列主键 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] |
| | | public long Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否为根节点 (0表示为根节点) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "is_top")] |
| | | public int? IsTop { get; set; } |
| | | [SugarColumn(ColumnName = "parent_id", IsNullable = true)] |
| | | public long? ParentId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 父节点id |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "fid")] |
| | | public long? Fid { get; set; } |
| | | [SugarColumn(ColumnName = "node_level")] |
| | | public int NodeLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "node_type")] |
| | | public int NodeType { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "code")] |
| | | public string? Code { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "title")] |
| | | public string? Title { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 英文名 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "field")] |
| | | public string? Field { get; set; } |
| | | [SugarColumn(ColumnName = "url")] |
| | | public string? Url { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 地址 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "href")] |
| | | public string? Href { get; set; } |
| | | [SugarColumn(ColumnName = "carousel_duration", IsNullable = true)] |
| | | public int? CarouselDuration { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 节点是否初始展开 (0为不展开,1为展开) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "spread")] |
| | | public int? Spread { get; set; } |
| | | [SugarColumn(ColumnName = "is_expanded")] |
| | | public bool IsExpanded { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 节点是否为展示 (0为展示,1为不展示) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "disabled")] |
| | | public int? Disabled { get; set; } |
| | | [SugarColumn(ColumnName = "is_enabled")] |
| | | public bool IsEnabled { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 轮播时间(秒) |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "lbtime")] |
| | | public int? Lbtime { get; set; } |
| | | [SugarColumn(ColumnName = "sort_order")] |
| | | public int SortOrder { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "is_deleted")] |
| | | public bool IsDeleted { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "created_by")] |
| | | public string? CreatedBy { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "created_at")] |
| | | public DateTime CreatedAt { get; set; } |
| | | } |