¶Ô±ÈÐÂÎļþ |
| | |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using WIDESEA_Core.DB.Models; |
| | | using WIDESEA_Core.Filter; |
| | | using WIDESEA_Core.Tenants; |
| | | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [MultiTenant] |
| | | [Exporter(ExporterHeaderFilter = typeof(ExporterHeaderFilter))] |
| | | [SugarTable("Sys_Dictionary", "åå
¸æ°æ®")] |
| | | public class Sys_Dictionary : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// åå
¸ID |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "åå
¸ID")] |
| | | [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "åå
¸ID")] |
| | | public int DicId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// é
置项 |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "é
置项")] |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "é
置项")] |
| | | public string Config { get; set; } |
| | | |
| | | /// <summary> |
| | | /// Sqlè¯å¥ |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "Sqlè¯å¥")] |
| | | [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "Sqlè¯å¥")] |
| | | public string Sql { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå
¸åç§° |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "åå
¸åç§°")] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "åå
¸åç§°")] |
| | | public string DicName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// åå
¸ç¼å· |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "åå
¸ç¼å·")] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "åå
¸ç¼å·")] |
| | | public string DicNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¯å¦å¯ç¨ |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "æ¯å¦å¯ç¨")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "æ¯å¦å¯ç¨")] |
| | | public byte? Enable { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æåºå· |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "æåºå·")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "æåºå·")] |
| | | public int? OrderNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// ç¶çº§ID |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "ç¶çº§ID")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "ç¶çº§ID")] |
| | | public int ParentId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "夿³¨")] |
| | | [SugarColumn(IsNullable = true, Length = 2000, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | |
| | | [ExporterHeader(IsIgnore = true)] |
| | | [Navigate(NavigateType.OneToMany, nameof(DicId),nameof(DicId)), SugarColumn(IsIgnore = true, IsNullable = true)] |
| | | public List<Sys_DictionaryList> DicList { get; set; } |
| | | } |
| | | } |