| | |
| | | using System.ComponentModel; |
| | | using System.Collections.Generic; |
| | | using Tiger.Model; |
| | | using Tiger.Model.Base; |
| | | |
| | | namespace Tiger.Model.MES.Yada |
| | | { |
| | | /// <summary> |
| | | /// 实体:mes_SCMPickList |
| | | /// 实体:mes_SCMPickList |
| | | /// </summary> |
| | | [Serializable] |
| | | [SugarTable("mes_SCMPickList")] |
| | | public class mes_SCMPickList : iViewEntity |
| | | { |
| | | #region 构造函数 |
| | | public class mes_SCMPickList : iViewEntity, iPrepPickItem |
| | | { |
| | | #region 构造函数 |
| | | /// <summary> |
| | | /// 实体:mes_SCMPickList |
| | | /// 实体:mes_SCMPickList |
| | | /// </summary> |
| | | public mes_SCMPickList() {} |
| | | #endregion |
| | | |
| | | #region 公共属性 |
| | | #region 公共属性 |
| | | /// <summary> |
| | | /// 委外备料单号 |
| | | /// 委外备料表ID |
| | | /// </summary> |
| | | public long SCMPickListID { get; set; } |
| | | /// <summary> |
| | | /// 供应商组织 |
| | | /// 供应商组织 |
| | | /// </summary> |
| | | public long SupplyOrg { get; set; } |
| | | /// <summary> |
| | | /// 行号 |
| | | /// 备料表行号 |
| | | /// </summary> |
| | | public int PickLineNo { get; set; } |
| | | /// <summary> |
| | | /// 采购单ID |
| | | /// 采购订单 |
| | | /// </summary> |
| | | public long PoId { get; set; } |
| | | /// <summary> |
| | | /// 采购单号 |
| | | /// 采购订单号 |
| | | /// </summary> |
| | | public string PoDocNo { get; set; } |
| | | /// <summary> |
| | | /// 物料编码ID |
| | | /// 料号ID |
| | | /// </summary> |
| | | public long ItemMaster { get; set; } |
| | | /// <summary> |
| | | /// 物料编码 |
| | | /// 料号 |
| | | /// </summary> |
| | | public string ItemCode { get; set; } |
| | | /// <summary> |
| | | /// 实际需求数量 |
| | | /// 实际需求数量 |
| | | /// </summary> |
| | | public double ActualReqQty { get; set; } |
| | | /// <summary> |
| | | /// 实发数量 |
| | | /// 已发数量 |
| | | /// </summary> |
| | | public double IssuedQty { get; set; } |
| | | /// <summary> |
| | | /// 未发数量 |
| | | /// 领料未发数量 |
| | | /// </summary> |
| | | public double IssueNotDeliverQty { get; set; } |
| | | /// <summary> |
| | | /// 发料方式 |
| | | /// 发料方式 |
| | | /// </summary> |
| | | public int IssueStyle { get; set; } |
| | | /// <summary> |
| | | /// 发料方式名称 |
| | | /// 发料方式名称 |
| | | /// </summary> |
| | | public string IssueStyleName { get; set; } |
| | | /// <summary> |
| | | /// 单位 |
| | | /// 发料单位 |
| | | /// </summary> |
| | | public string IssueUOM { get; set; } |
| | | /// <summary> |
| | | /// 仓库ID |
| | | /// 供应商地点ID |
| | | /// </summary> |
| | | public long WhId { get; set; } |
| | | /// <summary> |
| | | /// 仓库编码 |
| | | /// 供应商地点编码 |
| | | /// </summary> |
| | | public string WhCode { get; set; } |
| | | /// <summary> |
| | | /// 仓库名称 |
| | | /// 供应地点 |
| | | /// </summary> |
| | | public string WhName { get; set; } |
| | | /// <summary> |
| | | /// 储位ID |
| | | /// 供应库位ID |
| | | /// </summary> |
| | | public long BinId { get; set; } |
| | | /// <summary> |
| | | /// 储位编码 |
| | | /// 供应库位编码 |
| | | /// </summary> |
| | | public string BinCode { get; set; } |
| | | /// <summary> |
| | | /// 储位名称 |
| | | /// 供应库名称 |
| | | /// </summary> |
| | | public string BinName { get; set; } |
| | | /// <summary> |
| | | /// 创建时间 |
| | | /// 创建时间 |
| | | /// </summary> |
| | | public DateTime CreatedOn { get; set; } = DateTime.MinValue; |
| | | /// <summary> |
| | | /// 更新时间 |
| | | /// 更新时间 |
| | | /// </summary> |
| | | public DateTime ModifiedOn { get; set; } = DateTime.MinValue; |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 虚拟属性 |
| | | /*例子 |
| | | #region 虚拟属性 |
| | | /*例子 |
| | | [SugarColumn(IsIgnore = true)] |
| | | public string FieldName { get; set; } |
| | | */ |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 枚举变量 |
| | | /*例子 |
| | | #region 枚举变量 |
| | | /*例子 |
| | | public enum FieldNames |
| | | { |
| | | [Description("枚举描述0")] |
| | | [Description("枚举描述0")] |
| | | Enum0, |
| | | [Description("枚举描述1")] |
| | | [Description("枚举描述1")] |
| | | Enum1, |
| | | } |
| | | */ |
| | | #endregion |
| | | #endregion |
| | | |
| | | #region 公共方法 |
| | | #region 公共方法 |
| | | public BIZ_WMS_PREP_SRC_DTL GetPickItem() |
| | | { |
| | | return new BIZ_WMS_PREP_SRC_DTL() |
| | | { |
| | | Source = this, |
| | | ITEM_CODE = ItemCode, |
| | | UNIT = IssueUOM, |
| | | SOURCE_CODE = nameof(BIZ_U9_SCM_OUT), |
| | | SOURCE_ORDER = PoDocNo, |
| | | SOURCE_LINE =PickLineNo.ToString(), |
| | | QTY_REQ = ActualReqQty, |
| | | QTY_DLVY = IssuedQty, |
| | | QTY_ACT_REQ = ActualReqQty - IssuedQty, |
| | | }; |
| | | } |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | }//endClass |
| | | }//endClass |
| | | } |