From a7ceaaa38a4394b82501ca60230e97d25a6871e3 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期六, 18 一月 2025 17:30:33 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" index 92f56a7..682c4fe 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielInfo.cs" @@ -10,15 +10,24 @@ namespace WIDESEA_Model.Models { + /// <summary> + /// 鐗╂枡淇℃伅 + /// </summary> [SugarTable(nameof(Dt_MaterielInfo), "鐗╂枡淇℃伅")] [SugarIndex("unique_materielinfo_materielcode", nameof(MaterielCode), OrderByType.Asc, true)] - public class Dt_MaterielInfo : BaseEntity + public class Dt_MaterielInfo : BaseEntity//, BaseWarehouseEntity { /// <summary> /// 涓婚敭 /// </summary> [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int Id { get; set; } + + /// <summary> + /// 浠撳簱缂栧彿 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] + public int WarehouseId { get; set; } /// <summary> /// 鐗╂枡缂栧彿 @@ -109,12 +118,6 @@ /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁闇�瑕佽川妫�")] public WhetherEnum IsCheck { get; set; } - - /// <summary> - /// 浠撳簱缂栧彿 - /// </summary> - [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱缂栧彿")] - public int WaId { get; set; } /// <summary> /// 澶囨敞 -- Gitblit v1.9.3