From c6494a547258df9180f181dc00d6e4dd1633ec36 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期四, 13 二月 2025 19:03:15 +0800 Subject: [PATCH] 更新数据库配置和出货逻辑 --- Tiger.Model.Net/Entitys/MES/YadaU9/mes_WhLotCodeQtyInfo.cs | 41 +++++++++++++++++++++++------------------ 1 files changed, 23 insertions(+), 18 deletions(-) diff --git a/Tiger.Model.Net/Entitys/MES/YadaU9/mes_WhLotCodeQtyInfo.cs b/Tiger.Model.Net/Entitys/MES/YadaU9/mes_WhLotCodeQtyInfo.cs index e833979..23c9483 100644 --- a/Tiger.Model.Net/Entitys/MES/YadaU9/mes_WhLotCodeQtyInfo.cs +++ b/Tiger.Model.Net/Entitys/MES/YadaU9/mes_WhLotCodeQtyInfo.cs @@ -7,10 +7,11 @@ namespace Tiger.Model.MES.Yada { - /// <summary> - /// 实体:mes_WhLotCodeQtyInfo - /// </summary> - [Serializable] + /// <summary> + /// 实体:mes_WhLotCodeQtyInfo + /// </summary> + [Description("Primary:LotCode")] + [Serializable] [SugarTable("mes_WhLotCodeQtyInfo")] public class mes_WhLotCodeQtyInfo : iViewEntity { @@ -42,21 +43,25 @@ /// /// </summary> public decimal StoreQty { get; set; } - /// <summary> - /// - /// </summary> - public string LotCode { get; set; } - #endregion + /// <summary> + /// + /// </summary> + [SugarColumn(IsPrimaryKey = true)] + public string ID { get; set; } + public string LotCode { get; set; } + public string Description { get; set; } + public string SapCode { get; set; } + #endregion - #region 虚拟属性 - /*例子 + #region 虚拟属性 + /*例子 [SugarColumn(IsIgnore = true)] public string FieldName { get; set; } */ - #endregion + #endregion - #region 枚举变量 - /*例子 + #region 枚举变量 + /*例子 public enum FieldNames { [Description("枚举描述0")] @@ -65,11 +70,11 @@ Enum1, } */ - #endregion + #endregion - #region 公共方法 + #region 公共方法 - #endregion + #endregion - }//endClass + }//endClass } \ No newline at end of file -- Gitblit v1.9.3