using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using HH.WMS.Entitys.Entitys;
|
using HH.WMS.Entitys.Basic;
|
using HH.WMS.Entitys.Common;
|
|
namespace HH.WMS.Entitys
|
{
|
[Table("TN_WM_B_TRAY_ITEM_MST")]
|
public class TN_WM_B_TRAY_ITEM_MSTEntity:BaseEntity,ICloneable
|
{
|
public TN_WM_B_TRAY_ITEM_MSTEntity()
|
{
|
TrayItemDtlList = new List<TN_WM_B_TRAY_ITEM_DTLEntity>();
|
}
|
[Column("CN_GUID")]
|
public string CN_GUID { get; set; }
|
|
[Column("CN_S_TRAY_CODE")]
|
public string CN_S_TRAY_CODE { get; set; }
|
|
[Column("CN_S_TRAY_GRID")]
|
public string CN_S_TRAY_GRID { get; set; }
|
|
[Column("CN_S_OWNER")]
|
public string CN_S_OWNER { get; set; }
|
|
[Column("CN_S_ITEM_CODE")]
|
public string CN_S_ITEM_CODE { get; set; }
|
|
[Column("CN_S_ITEM_NAME")]
|
public string CN_S_ITEM_NAME { get; set; }
|
|
[Column("CN_S_FIGURE_NO")]
|
public string CN_S_FIGURE_NO { get; set; }
|
|
[Column("CN_S_MODEL")]
|
public string CN_S_MODEL { get; set; }
|
|
[Column("CN_S_ITEM_STATE")]
|
public string CN_S_ITEM_STATE { get; set; }
|
|
[Column("CN_F_QUANTITY")]
|
public decimal CN_F_QUANTITY { get; set; }
|
|
[Column("CN_S_MEASURE_UNIT")]
|
public string CN_S_MEASURE_UNIT { get; set; }
|
|
[Column("CN_S_IN_AREA_CODE")]
|
public string CN_S_IN_AREA_CODE { get; set; }
|
|
[Column("CN_F_INQTY")]
|
public decimal CN_F_INQTY { get; set; }
|
|
[Column("CN_F_ALLOC_QTY")]
|
public decimal CN_F_ALLOC_QTY { get; set; }
|
|
[Column("CN_S_TIMESTAMP")]
|
public string CN_S_TIMESTAMP { get; set; }
|
|
public string CN_S_UNIQUE_CODE { get; set; }
|
|
public string CN_S_LOT_NO { get; set; }
|
|
/// <summary>
|
/// 包装单位
|
/// </summary>
|
public string CN_S_PACKING_UNIT { get; set; }
|
/// <summary>
|
/// 包装数量
|
/// </summary>
|
|
public decimal? CN_F_PACKING_QTY { get; set; }
|
/// <summary>
|
///
|
/// </summary>
|
public string CN_S_PRODUCTION_BATCH { get; set; }
|
|
public string sqlwhere { get; set; }
|
|
public string sqlwhere1 { get; set; }
|
public List<TN_WM_B_TRAY_ITEM_DTLEntity> TrayItemDtlList { get; set; }
|
|
/// <summary>
|
/// 货位码 暂存
|
/// </summary>
|
public string CN_S_LOCATION_CODE { get; set; }
|
/// <summary>
|
/// 老的托盘 暂存
|
/// </summary>
|
public string CN_S_TRAY_CODE_OLD { get; set; }
|
/// <summary>
|
/// 起始库区
|
/// </summary>
|
public string CN_S_START_AREA { get; set; }
|
/// <summary>
|
/// 仓库
|
/// </summary>
|
public string CN_S_STOCK_CODE { get; set; }
|
/// <summary>
|
/// 结束库区
|
/// </summary>
|
public string CN_S_END_AREA { get; set; }
|
/// <summary>
|
/// 暂存
|
/// </summary>
|
public decimal quantity { get; set; }
|
/// <summary>
|
/// 标识暂存
|
/// </summary>
|
public int flags { get; set; }
|
|
public string CN_S_STOCK_AREA { get; set; }
|
|
public int CN_N_INDEX { get; set; }
|
|
public string CN_C_IS_SN { get; set; }
|
|
public List<AuxiliaryEntity> AuxiliaryUnitList { get; set; }
|
|
///// <summary>
|
///// 物料重量
|
///// </summary>
|
//public decimal CN_S_WEIGHT { get; set; }
|
/// <summary>
|
/// 拆包的明细,需要新增的
|
/// </summary>
|
public List<TN_WM_B_TRAY_ITEM_DTLEntity> UnpackingDtl { get; set; }
|
|
public decimal CN_S_WEIGHT { get; set; }
|
|
public TN_WM_B_TRAY_ITEM_MSTEntity Clone()
|
{
|
TN_WM_B_TRAY_ITEM_MSTEntity mst = (TN_WM_B_TRAY_ITEM_MSTEntity)this.MemberwiseClone();
|
mst.TrayItemDtlList = new List<TN_WM_B_TRAY_ITEM_DTLEntity>();
|
this.TrayItemDtlList.ForEach(x => { mst.TrayItemDtlList.Add(x.Clone()); });
|
return mst;
|
}
|
public bool Update { get; set; }
|
}
|
|
public class TrayItemMstAndDtlEntity
|
{
|
public string CN_S_TRAY_CODE { get; set; }
|
public string CN_S_TRAY_GRID { get; set; }
|
public string CN_S_OWNER { get; set; }
|
public string CN_S_ITEM_CODE { get; set; }
|
public string CN_S_ITEM_NAME { get; set; }
|
public string CN_S_FIGURE_NO { get; set; }
|
public string CN_S_MODEL { get; set; }
|
public string CN_S_ITEM_STATE { get; set; }
|
public string CN_S_MEASURE_UNIT { get; set; }
|
public string CN_S_LOT_NO { get; set; }
|
public string CN_S_PRODUCTION_BATCH { get; set; }
|
public string CN_S_SERIAL_NO { get; set; }
|
public string CN_S_VENDOR_NO { get; set; }
|
public string CN_S_VENDOR_NAME { get; set; }
|
public string CN_S_PACKING_UNIT { get; set; }
|
public decimal? CN_F_PACKING_QTY { get; set; }
|
public decimal CN_F_QUANTITY { get; set; }
|
|
}
|
}
|