From 7ca9651f81d7b84f054194d3d46fdbd1d9c8b922 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期三, 09 七月 2025 22:55:27 +0800 Subject: [PATCH] 增加质检出入库逻辑 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/System/Sys_Dictionary.cs | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 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..fb358b0 --- /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,81 @@ +锘縰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> + /// 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; } + } +} -- Gitblit v1.9.3