393 lines
10 KiB
C#
393 lines
10 KiB
C#
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
using System.Linq;
|
|||
|
|
using System.Text;
|
|||
|
|
using WMS.Attirubte;
|
|||
|
|
using System.ComponentModel;
|
|||
|
|
|
|||
|
|
namespace WMS.Model.Base
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
[Serializable]
|
|||
|
|
[TableClmAttribute(TableName = "T_BASE_Ctl_GOODS")]
|
|||
|
|
public class BaseCtlGoodsModel
|
|||
|
|
{
|
|||
|
|
//Pallet Num 20
|
|||
|
|
private string _ctl_pallet_id = "";
|
|||
|
|
private string _pallet_newid = "";
|
|||
|
|
//GoodsNumber 20
|
|||
|
|
private string _goods_id = "";
|
|||
|
|
//事物类型编号 20 物料的上架 下架等 字典表
|
|||
|
|
private string _vc_dictionary_id = "";
|
|||
|
|
//容器类型 1 托盘,周转箱,车
|
|||
|
|
private string _vc_type = "";
|
|||
|
|
//版本号 10
|
|||
|
|
private string _version = "";
|
|||
|
|
//搬运人 20
|
|||
|
|
private string _userid = "";
|
|||
|
|
//第一列复选框
|
|||
|
|
private Boolean _ischeck = false;
|
|||
|
|
//Goods NAME 20
|
|||
|
|
private string _goods_name = "";
|
|||
|
|
//物料规格 20
|
|||
|
|
private string _specification = "";
|
|||
|
|
//型号 20
|
|||
|
|
private string _model = "";
|
|||
|
|
//BarCode 60
|
|||
|
|
private string _barcode = "";
|
|||
|
|
//物料体积 18,2
|
|||
|
|
private decimal _gvolume=0;
|
|||
|
|
//价格 18,4
|
|||
|
|
private decimal _price=0;
|
|||
|
|
//毛重 18,2
|
|||
|
|
private decimal _gross_weight = 0;
|
|||
|
|
//净重 18,2
|
|||
|
|
private decimal _net_weight = 0;
|
|||
|
|
//海关编码 50
|
|||
|
|
private string _hsnumber = "";
|
|||
|
|
//危险品 1
|
|||
|
|
private string _hazardous = "";
|
|||
|
|
//存储条件 20
|
|||
|
|
private string _stored = "";
|
|||
|
|
//保质期 10
|
|||
|
|
private Int64 _period=0;
|
|||
|
|
//托盘名称 60
|
|||
|
|
private string _pallet_name = "";
|
|||
|
|
//托盘容积 18,2
|
|||
|
|
private decimal _volume=0;
|
|||
|
|
//托盘承载重量 18,2
|
|||
|
|
private decimal _bearweight=0;
|
|||
|
|
//搬运人名称 30
|
|||
|
|
private string _name = "";
|
|||
|
|
//最后更新时间
|
|||
|
|
private DateTime _updateTime;
|
|||
|
|
//事务类型名称 100
|
|||
|
|
private string _vc_dictionary_name;
|
|||
|
|
//录入人 10
|
|||
|
|
private string _operatorid;
|
|||
|
|
//录入人
|
|||
|
|
private string _operator_name;
|
|||
|
|
//录入日期
|
|||
|
|
private DateTime _operatedate;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Pallet Num
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Pallet Num")]
|
|||
|
|
public string CTL_PALLET_ID
|
|||
|
|
{
|
|||
|
|
get { return _ctl_pallet_id; }
|
|||
|
|
set { _ctl_pallet_id = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 容器新ID 为了更换容器替换
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("替换容器")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string PALLET_NEWID
|
|||
|
|
{
|
|||
|
|
get { return _pallet_newid; }
|
|||
|
|
set { _pallet_newid = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// GoodsNumber
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("GoodsNumber")]
|
|||
|
|
public string GOODS_ID
|
|||
|
|
{
|
|||
|
|
get { return _goods_id; }
|
|||
|
|
set { _goods_id = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 事务类型编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("事务类型编号")]
|
|||
|
|
[TableClmAttribute(JoinTableClmName = "VC_DICTIONARY_NAME", JoinTableClm = "VC_DICTIONARY_ID", ClmJoinTable = "t_sys_dictionary_tab", JoinTableWhere = " vc_dictionary_type = 'transaction_type' and c_flag = '1' ", ClassName = "VC_DICTIONARY_NAME")]
|
|||
|
|
public string VC_DICTIONARY_ID
|
|||
|
|
{
|
|||
|
|
get { return _vc_dictionary_id; }
|
|||
|
|
set { _vc_dictionary_id = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 容器类型
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("容器的类型")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string VC_TYPE
|
|||
|
|
{
|
|||
|
|
get { return _vc_type; }
|
|||
|
|
set { _vc_type = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 版本号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("版本号")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string VERSION
|
|||
|
|
{
|
|||
|
|
get { return _version; }
|
|||
|
|
set { _version = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 搬运人编号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("搬运人编号")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string User_ID
|
|||
|
|
{
|
|||
|
|
get { return _userid; }
|
|||
|
|
set { _userid = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否选中
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("是否选中")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public Boolean IsCheck
|
|||
|
|
{
|
|||
|
|
get { return _ischeck; }
|
|||
|
|
set { _ischeck = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Goods NAME
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Goods NAME")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string GOODS_NAME
|
|||
|
|
{
|
|||
|
|
get { return _goods_name; }
|
|||
|
|
set { _goods_name = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 物料规格
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("物料规格")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string SPECIFICATION
|
|||
|
|
{
|
|||
|
|
get { return _specification; }
|
|||
|
|
set { _specification = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 型号
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("型号")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string MODEL
|
|||
|
|
{
|
|||
|
|
get { return _model; }
|
|||
|
|
set { _model = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// BarCode
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("BarCode")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string BARCODE
|
|||
|
|
{
|
|||
|
|
get { return _barcode; }
|
|||
|
|
set { _barcode = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 物料体积
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("物料体积")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public decimal GVOLUME
|
|||
|
|
{
|
|||
|
|
get { return _gvolume; }
|
|||
|
|
set { _gvolume = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 价格
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("价格")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public decimal PRICE
|
|||
|
|
{
|
|||
|
|
get { return _price; }
|
|||
|
|
set { _price = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 毛重
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("毛重")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public decimal GROSS_WEIGHT
|
|||
|
|
{
|
|||
|
|
get { return _gross_weight; }
|
|||
|
|
set { _gross_weight = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 净重
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("净重")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public decimal NET_WEIGHT
|
|||
|
|
{
|
|||
|
|
get { return _net_weight; }
|
|||
|
|
set { _net_weight = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 海关编码
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("海关编码")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string HSNUMBER
|
|||
|
|
{
|
|||
|
|
get { return _hsnumber; }
|
|||
|
|
set { _hsnumber = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 危险品
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("危险品")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string HAZARDOUS
|
|||
|
|
{
|
|||
|
|
get { return _hazardous; }
|
|||
|
|
set { _hazardous = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 存储条件
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("存储条件")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string STORED
|
|||
|
|
{
|
|||
|
|
get { return _stored; }
|
|||
|
|
set { _stored = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 保质期
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("保质期")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public Int64 PERIOD
|
|||
|
|
{
|
|||
|
|
get { return _period; }
|
|||
|
|
set { _period = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Pallet Name
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("Pallet Name")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string PALLET_NAME
|
|||
|
|
{
|
|||
|
|
get { return _pallet_name; }
|
|||
|
|
set { _pallet_name = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 容器体积
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("容器容积")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public decimal VOLUME
|
|||
|
|
{
|
|||
|
|
get { return _volume; }
|
|||
|
|
set { _volume = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 容器承载重量
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("容器承载重量")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public decimal BEARWEIGHT
|
|||
|
|
{
|
|||
|
|
get { return _bearweight; }
|
|||
|
|
set { _bearweight = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 搬运人名称
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("搬运人名称")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string NAME
|
|||
|
|
{
|
|||
|
|
get { return _name; }
|
|||
|
|
set { _name = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 最后更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("最后更新时间")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public DateTime UPDATETIME
|
|||
|
|
{
|
|||
|
|
get { return _updateTime; }
|
|||
|
|
set { _updateTime = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 事务类型名称
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("事务类型名称")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public string VC_DICTIONARY_NAME
|
|||
|
|
{
|
|||
|
|
get { return _vc_dictionary_name; }
|
|||
|
|
set { _vc_dictionary_name = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 录入人ID
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("录入人")]
|
|||
|
|
public string OPERATORID
|
|||
|
|
{
|
|||
|
|
get { return _operatorid; }
|
|||
|
|
set { _operatorid = value; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 录入人姓名
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("录入人")]
|
|||
|
|
public string OPERATORNAME
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
get { return _operator_name; }
|
|||
|
|
set { _operator_name = value; }
|
|||
|
|
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 录入时间
|
|||
|
|
/// </summary>
|
|||
|
|
[DisplayName("录入日期")]
|
|||
|
|
[TableClm(NoSelect = false)]
|
|||
|
|
public DateTime OPERATEDATE
|
|||
|
|
{
|
|||
|
|
get { return _operatedate; }
|
|||
|
|
set { _operatedate = value; }
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|