From b51a65433d6102f2f8f00226404d9ca3808404af Mon Sep 17 00:00:00 2001 From: hutongqing <hutongqing@hnkhzn.com> Date: 星期四, 02 一月 2025 22:23:17 +0800 Subject: [PATCH] 打印托盘号 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs | 37 ++++++++++++++++++++++++++++++++----- 1 files changed, 32 insertions(+), 5 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" index 07b7820..85fea92 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs" @@ -8,30 +8,57 @@ namespace WIDESEA_Model.Models { + /// <summary> + /// 搴撳瓨淇℃伅 + /// </summary> [SugarTable(nameof(Dt_StockInfo), "搴撳瓨淇℃伅")] public class Dt_StockInfo : BaseEntity { + /// <summary> + /// 涓婚敭 + /// </summary> [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int Id { get; set; } + /// <summary> + /// 鎵樼洏缂栧彿 + /// </summary> [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] public string PalletCode { get; set; } - [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "璐т綅缂栧彿")] + /// <summary> + /// 鎵樼洏绫诲瀷 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "鎵樼洏绫诲瀷")] + public int PalletType { get; set; } + + /// <summary> + /// 璐т綅缂栧彿 + /// </summary> + [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")] public string LocationCode { get; set; } - [SugarColumn(IsNullable = false, ColumnDescription = "")] + /// <summary> + /// 浠撳簱涓婚敭 + /// </summary> + [SugarColumn(IsNullable = false, ColumnDescription = "浠撳簱涓婚敭")] public int WarehouseId { get; set; } + /// <summary> + /// 搴撳瓨鐘舵�� + /// </summary> [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鐘舵��")] public int StockStatus { get; set; } + /// <summary> + /// 澶囨敞 + /// </summary> [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] public string Remark { get; set; } - [SugarColumn(IsNullable = false, ColumnDescription = "")] - public int PalletType { get; set; } - + /// <summary> + /// 搴撳瓨鏄庣粏 + /// </summary> [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))] public List<Dt_StockInfoDetail> Details { get; set; } } -- Gitblit v1.9.3