168 lines
3.7 KiB
C#
168 lines
3.7 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using WMS.Attirubte;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
|
|||
|
|
namespace WMS.Model.RK
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 箱码打印表
|
|||
|
|
/// </summary>
|
|||
|
|
[Serializable]
|
|||
|
|
[TableClmAttribute(TableName = "T_RK_BARCODE")]
|
|||
|
|
public class BoxCodeModel
|
|||
|
|
{
|
|||
|
|
#region 码盘Model
|
|||
|
|
private string warehousing_id="";
|
|||
|
|
|
|||
|
|
private string goods_id = "";
|
|||
|
|
private string goods_name = "";
|
|||
|
|
private string unit = "";
|
|||
|
|
private decimal _BOXNUM = 0;
|
|||
|
|
private DateTime production_date =DateTime.Parse("1900-01-01");
|
|||
|
|
|
|||
|
|
private string _BOXID = "";
|
|||
|
|
private DateTime codedisk_date = DateTime.Parse("1900-01-01");
|
|||
|
|
|
|||
|
|
private string operatorID = "";
|
|||
|
|
private DateTime operateDate = DateTime.Parse("1900-01-01");
|
|||
|
|
|
|||
|
|
private string _Unit = "";
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
private string barCode = string.Empty;
|
|||
|
|
|
|||
|
|
string _sts = "";
|
|||
|
|
[DisplayName("状态")]
|
|||
|
|
public string STS
|
|||
|
|
{
|
|||
|
|
get { return _sts; }
|
|||
|
|
set { _sts = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 箱码
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("箱码")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string BARCODE
|
|||
|
|
{
|
|||
|
|
get { return barCode; }
|
|||
|
|
set { barCode = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 通知单编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("通知单编号")]
|
|||
|
|
public string WAREHOUSING_ID
|
|||
|
|
{
|
|||
|
|
get { return warehousing_id; }
|
|||
|
|
set { warehousing_id = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// GoodsNumber
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("物料编号")]
|
|||
|
|
[TableClmAttribute(ClmJoinTable = "T_BASE_GOODS", JoinTableClm = "GOODS_ID", JoinTableClmName = "GOODS_NAME")]
|
|||
|
|
public string GOODS_ID
|
|||
|
|
{
|
|||
|
|
get { return goods_id; }
|
|||
|
|
set { goods_id = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Goods NAME
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("物料名称")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string Goods_name
|
|||
|
|
{
|
|||
|
|
get { return goods_name; }
|
|||
|
|
set { goods_name = value; }
|
|||
|
|
}
|
|||
|
|
/// <summary>
|
|||
|
|
/// UNIT
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("单位")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string Unit
|
|||
|
|
{
|
|||
|
|
get { return unit; }
|
|||
|
|
set { unit = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 装箱数
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("装箱数")]
|
|||
|
|
public decimal BOXNUM
|
|||
|
|
{
|
|||
|
|
get { return _BOXNUM; }
|
|||
|
|
set { _BOXNUM = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 箱型
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("箱型")]
|
|||
|
|
public string GOODS_MEASURE_ID
|
|||
|
|
{
|
|||
|
|
get { return _BOXID; }
|
|||
|
|
set { _BOXID = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 单位
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("单位")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string UNIT
|
|||
|
|
{
|
|||
|
|
get { return _Unit; }
|
|||
|
|
set { _Unit = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///操作人
|
|||
|
|
/// <summary>
|
|||
|
|
[DisplayName("打印人")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string OperatorID
|
|||
|
|
{
|
|||
|
|
get { return operatorID; }
|
|||
|
|
set { operatorID = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
///打印时间
|
|||
|
|
/// <summary>
|
|||
|
|
[DisplayName("打印时间")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public DateTime OperateDate
|
|||
|
|
{
|
|||
|
|
get { return operateDate; }
|
|||
|
|
set { operateDate = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
#endregion
|
|||
|
|
}
|
|||
|
|
}
|