| | |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | |
| | | namespace NewPdaSqlServer.Dto.Simple; |
| | | |
| | | /// <summary> |
| | | /// 菜单实体DTO - 用于列表展示 |
| | | /// 与Java版本MesSimplesimple字段完全一致 |
| | | /// 菜单实体DTO - 对应新的 MES_SIMPLE 表结构 |
| | | /// </summary> |
| | | public class MesSimpleDto |
| | | { |
| | | /// <summary> |
| | | /// 自增主键ID |
| | | /// </summary> |
| | | [JsonProperty("id")] |
| | | public long Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否为根节点 (0表示为根节点) |
| | | /// 父节点ID (NULL为根节点) |
| | | /// </summary> |
| | | [JsonProperty("isTop")] |
| | | public int? IsTop { get; set; } |
| | | [JsonProperty("parentId")] |
| | | public long? ParentId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 父节点id |
| | | /// 节点类型: 0=目录, 1=页面/轮播 |
| | | /// </summary> |
| | | [JsonProperty("fid")] |
| | | public long? Fid { get; set; } |
| | | [JsonProperty("nodeType")] |
| | | public int NodeType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | | /// 层级 (0-5) |
| | | /// </summary> |
| | | [JsonProperty("nodeLevel")] |
| | | public int NodeLevel { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 唯一业务编码 |
| | | /// </summary> |
| | | [JsonProperty("code")] |
| | | public string? Code { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 显示标题 |
| | | /// </summary> |
| | | [JsonProperty("title")] |
| | | public string? Title { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 英文名 |
| | | /// 跳转地址 |
| | | /// </summary> |
| | | [JsonProperty("field")] |
| | | public string? Field { get; set; } |
| | | [JsonProperty("url")] |
| | | public string? Url { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 地址 |
| | | /// 轮播时长(秒) |
| | | /// </summary> |
| | | [JsonProperty("href")] |
| | | public string? Href { get; set; } |
| | | [JsonProperty("carouselDuration")] |
| | | public int? CarouselDuration { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 节点是否初始展开 (0为不展开,1为展开) |
| | | /// 是否默认展开 |
| | | /// </summary> |
| | | [JsonProperty("spread")] |
| | | public int? Spread { get; set; } |
| | | [JsonProperty("isExpanded")] |
| | | public bool IsExpanded { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 节点是否为展示 (0为展示,1为不展示) |
| | | /// 是否启用 |
| | | /// </summary> |
| | | [JsonProperty("disabled")] |
| | | public int? Disabled { get; set; } |
| | | [JsonProperty("isEnabled")] |
| | | public bool IsEnabled { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 轮播时间(秒) |
| | | /// 排序 |
| | | /// </summary> |
| | | [JsonProperty("lbtime")] |
| | | public int? Lbtime { get; set; } |
| | | } |
| | | [JsonProperty("sortOrder")] |
| | | public int SortOrder { get; set; } |
| | | } |