| | |
| | | using System.Linq; |
| | | using System.ComponentModel; |
| | | using System.Collections.Generic; |
| | | using Tiger.Model.Base; |
| | | |
| | | namespace Tiger.Model |
| | | { |
| | |
| | | [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)明细 |
| | |
| | | public BAS_ITEM ItemInfo => _ItemInfos?.FirstOrDefault(q => q.AUTH_ORG == AUTH_ORG); |
| | | #endregion |
| | | |
| | | #region 枚举变量 |
| | | /*例子 |
| | | #region 枚举变量 |
| | | /*例子 |
| | | public enum FieldNames |
| | | { |
| | | [Description("枚举描述0")] |
| | |
| | | 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 |
| | | } |