From be0856c1bf533ed6001ff786908ae98e4b853eb5 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期四, 09 一月 2025 10:09:02 +0800 Subject: [PATCH] 1 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs | 70 ++++++++++------------------------ 1 files changed, 21 insertions(+), 49 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_Hty.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs" index 1662516..00a0f08 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo_Hty.cs" @@ -9,62 +9,34 @@ namespace WIDESEA_Model.Models { + /// <summary> + /// 搴撳瓨淇℃伅鍘嗗彶 + /// </summary> [SugarTable(nameof(Dt_StockInfo_Hty), "搴撳瓨淇℃伅")] - public class Dt_StockInfo_Hty + public class Dt_StockInfo_Hty : Dt_StockInfo, IBaseHistoryEntity { - [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] - public int Id { get; set; } - - [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] - public string PalletCode { get; set; } - - [SugarColumn(IsNullable = true, Length = 30, ColumnDescription = "璐т綅缂栧彿")] - public string LocationCode { get; set; } - - [SugarColumn(IsNullable = false, ColumnDescription = "鏄惁婊$洏", DefaultValue = "0")] - public bool IsFull { get; set; } - - [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鐘舵��")] - public int StockStatus { get; set; } - - [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] - public string Remark { get; set; } - - [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "婧愪富閿�")] + /// <summary> + /// 鍘熻〃涓婚敭 + /// </summary> + [ImporterHeader(Name = "鍘熻〃涓婚敭")] + [ExporterHeader(DisplayName = "鍘熻〃涓婚敭")] + [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "鍘熻〃涓婚敭")] public int SourceId { get; set; } - [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "澶囨敞")] + /// <summary> + /// 鎿嶄綔绫诲瀷 + /// </summary> + [ImporterHeader(Name = "鎿嶄綔绫诲瀷")] + [ExporterHeader(DisplayName = "鎿嶄綔绫诲瀷")] + [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎿嶄綔绫诲瀷")] public string OperateType { get; set; } - /// <summary> - /// 鍒涘缓浜� - /// </summary> - [ImporterHeader(Name = "鍒涘缓浜�")] - [ExporterHeader(DisplayName = "鍒涘缓浜�")] - [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鍒涘缓浜�")] - public string Creater { get; set; } /// <summary> - /// 鍒涘缓鏃堕棿 + /// 绉诲叆鍘嗗彶鏃堕棿 /// </summary> - [ImporterHeader(Name = "鍒涘缓鏃堕棿")] - [ExporterHeader(DisplayName = "鍒涘缓鏃堕棿")] - [SugarColumn(IsNullable = false, ColumnDescription = "鍒涘缓鏃堕棿")] - public DateTime CreateDate { get; set; } = DateTime.Now; - - /// <summary> - /// 鏇存柊鑰� - /// </summary> - [ImporterHeader(Name = "淇敼浜�")] - [ExporterHeader(DisplayName = "淇敼浜�")] - [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "淇敼浜�")] - public string Modifier { get; set; } - - /// <summary> - /// 淇敼鏃ユ湡 - /// </summary> - [ImporterHeader(Name = "淇敼鏃ユ湡")] - [ExporterHeader(DisplayName = "淇敼鏃ユ湡")] - [SugarColumn(IsNullable = true, ColumnDescription = "淇敼鏃ユ湡")] - public DateTime? ModifyDate { get; set; } + [ImporterHeader(Name = "绉诲叆鍘嗗彶鏃堕棿")] + [ExporterHeader(DisplayName = "绉诲叆鍘嗗彶鏃堕棿")] + [SugarColumn(IsNullable = false, ColumnDescription = "绉诲叆鍘嗗彶鏃堕棿")] + public DateTime InsertTime { get; set; } } } -- Gitblit v1.9.3