From 829eabf256e29392ca63f6da48829dba3b075dfe Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期五, 24 一月 2025 08:59:53 +0800 Subject: [PATCH] 资料,优化程序 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/Stock/Dt_StockInfo.cs | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 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 84b7812..9051a94 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" @@ -1,4 +1,5 @@ -锘縰sing SqlSugar; +锘縰sing Magicodes.ExporterAndImporter.Core; +using SqlSugar; using System; using System.Collections.Generic; using System.Linq; @@ -11,12 +12,13 @@ [SugarTable(nameof(Dt_StockInfo), "搴撳瓨淇℃伅")] public class Dt_StockInfo : BaseEntity { + [ExporterHeader(IsIgnore =true)] [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "涓婚敭")] public int Id { get; set; } - + [ExporterHeader(DisplayName = "鎵樼洏缂栧彿")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "鎵樼洏缂栧彿")] public string PalletCode { get; set; } - + [ExporterHeader(DisplayName = "绫诲瀷")] [SugarColumn(IsNullable = false, ColumnDescription = "绫诲瀷")] public int MaterialType { get; set; } @@ -29,12 +31,19 @@ [SugarColumn(IsNullable = false, ColumnDescription = "搴撳瓨鐘舵��")] public int StockStatus { get; set; } + [SugarColumn(IsNullable = false, ColumnDescription = "鐗╂枡鐘舵��")] + public int Wlstatus { get; set; } + [SugarColumn(IsNullable = false, ColumnDescription = "閲嶉噺")] - public float Materialweight { get; set; } + public decimal Materialweight { get; set; } [SugarColumn(IsNullable = true, ColumnDescription = "澶囨敞")] public string Remark { get; set; } + [SugarColumn(IsNullable = true, ColumnDescription = "鐢熶骇鏃堕棿")] + public DateTime Mgeneratetime { get; set; } + + [Navigate(NavigateType.OneToMany, nameof(Dt_StockInfoDetail.StockId), nameof(Id))] public List<Dt_StockInfoDetail> Details { get; set; } } -- Gitblit v1.9.3