服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
9 天以前 7e73e5df14dce74742abf50383bb8ac37b38012e
Tiger.Model.Net/Entitys/WMS/BIZ_WMS_TRANSFER_DTL.cs
@@ -3,6 +3,7 @@
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
using Tiger.Model.Base;
namespace Tiger.Model
{
@@ -13,8 +14,8 @@
   [DisplayName("调拨单(WMS)明细")]
   [Serializable]
   [SugarTable("BIZ_WMS_TRANSFER_DTL")]
   public class BIZ_WMS_TRANSFER_DTL : DbEntityWithAuth
   {
   public class BIZ_WMS_TRANSFER_DTL : DbEntityWithAuth, iPrepPickItem
    {
      #region 构造函数
      /// <summary>
      /// 实体:调拨单(WMS)明细
@@ -145,8 +146,8 @@
        public BAS_ITEM ItemInfo => _ItemInfos?.FirstOrDefault(q => q.AUTH_ORG == AUTH_ORG);
        #endregion
      #region 枚举变量
      /*例子
        #region 枚举变量
        /*例子
      public enum FieldNames
      {
         [Description("枚举描述0")]
@@ -155,11 +156,25 @@
         Enum1,
      }
      */
      #endregion
        #endregion
      #region 公共方法
        #region 公共方法
        public BIZ_WMS_PREP_SRC_DTL GetPickItem()
        {
            return new BIZ_WMS_PREP_SRC_DTL()
            {
                Source = this,
                AUTH_ORG = AUTH_ORG,
                ITEM_CODE = ITEM_CODE,
                UNIT = UNIT,
                SOURCE_CODE = nameof(BIZ_WMS_TRANSFER),
                SOURCE_ORDER = ORDER_NO,
                SOURCE_LINE = ORDER_LINE,
                QTY_REQ = QTY_REQ,
                QTY_ACT_REQ = QTY_REQ - QTY_OUT,
            };
        }
        #endregion
      #endregion
   }//endClass
    }//endClass
}