From 7281004dc3854ed59e9164dcd27a59c8c2cf6667 Mon Sep 17 00:00:00 2001 From: qinchulong <qinchulong@hnkhzn.com> Date: 星期六, 12 十月 2024 15:16:55 +0800 Subject: [PATCH] 初始化 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs | 95 +++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 95 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs" new file mode 100644 index 0000000..ea9724b --- /dev/null +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs" @@ -0,0 +1,95 @@ +锘縰sing 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> + /// 鏁版嵁搴撴湇鍔� + /// </summary> + [ExporterHeader(DisplayName = "鏁版嵁搴撴湇鍔�")] + [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "鏁版嵁搴撴湇鍔�")] + public string DBServer { get; set; } + + /// <summary> + /// Sql璇彞 + /// </summary> + [ExporterHeader(DisplayName = "Sql璇彞")] + [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "Sql璇彞")] + public string DBSql { 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; } + + /// <summary> + /// 绯荤粺绫诲瀷 + /// </summary> + [ExporterHeader(DisplayName = "绯荤粺绫诲瀷")] + [SugarColumn(IsNullable = false, ColumnDescription = "绯荤粺绫诲瀷")] + public int SystemType { get; set; } + + [ExporterHeader(IsIgnore = true)] + [Navigate(NavigateType.OneToMany, nameof(DicId),nameof(DicId)), SugarColumn(IsIgnore = true, IsNullable = true)] + public List<Sys_DictionaryList> DicList { get; set; } + } +} -- Gitblit v1.9.3