2023-05-23 16:13:17 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
///WCF Data Object
|
|
|
|
|
///BASIC CLASS FOR TABLE t_wmsGoods
|
|
|
|
|
///By wm
|
2023-11-21 19:18:23 +08:00
|
|
|
|
///on 09/18/2023
|
2023-05-23 16:13:17 +08:00
|
|
|
|
/// </summary>
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using System.Runtime.Serialization;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
using System.Data;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
using DeiNiu.wms.Data.Model;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
namespace DeiNiu.Wcf
|
2023-05-23 16:13:17 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
#region WcfWmsGoods
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This object represents the properties and methods of a WcfWmsGoods.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[DataContract]
|
|
|
|
|
public class WcfWmsGoods {
|
|
|
|
|
|
|
|
|
|
internal int _ID;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
internal string _goodsId= String.Empty;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
internal int _goodsType;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
internal string _ownerCode= String.Empty;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
internal int _plotId;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
internal bool _pIsDateValid;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
internal int _part;
|
|
|
|
|
internal decimal _full_max;
|
|
|
|
|
internal decimal _bulkMax;
|
|
|
|
|
internal decimal _bulkMax1;
|
|
|
|
|
internal decimal _batchMax1;
|
|
|
|
|
internal decimal _batchMax2;
|
|
|
|
|
internal decimal _batchMax3;
|
|
|
|
|
internal decimal _batchMax4;
|
|
|
|
|
internal decimal _length;
|
|
|
|
|
internal decimal _width;
|
|
|
|
|
internal decimal _height;
|
|
|
|
|
internal decimal _weight;
|
|
|
|
|
internal int _validTermDays;
|
|
|
|
|
internal decimal _bigCount;
|
|
|
|
|
internal int _repType;
|
|
|
|
|
internal int _ABC;
|
|
|
|
|
internal decimal _lowStore;
|
|
|
|
|
internal decimal _highStore;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
internal bool _tempRequired;
|
|
|
|
|
internal decimal _temperature;
|
|
|
|
|
internal bool _canSeedOut;
|
2023-11-21 19:18:23 +08:00
|
|
|
|
internal bool _canZhitong;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
internal int _operater;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
internal string _minOperateUnit= String.Empty;
|
|
|
|
|
internal decimal _minOperateCount;
|
|
|
|
|
internal int _expiryDays;
|
|
|
|
|
internal string _lastmodified= String.Empty;
|
|
|
|
|
internal string _createtime= String.Empty;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
internal bool _dr;
|
|
|
|
|
|
|
|
|
|
public WcfWmsGoods () {
|
|
|
|
|
}
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
public WcfWmsGoods (DataRow dr) {
|
|
|
|
|
#region get data from dr
|
|
|
|
|
if (dr != null )
|
|
|
|
|
{
|
|
|
|
|
if (dr.Table.Columns.Contains("ID") && !(dr["ID"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_ID = Convert.ToInt32(dr["ID"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("goodsId") && !(dr["goodsId"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_goodsId = dr["goodsId"].ToString() ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("goodsType") && !(dr["goodsType"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_goodsType = Convert.ToInt32(dr["goodsType"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("ownerCode") && !(dr["ownerCode"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_ownerCode = dr["ownerCode"].ToString() ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("plotId") && !(dr["plotId"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_plotId = Convert.ToInt32(dr["plotId"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("pIsDateValid") && !(dr["pIsDateValid"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_pIsDateValid = Convert.ToBoolean(dr["pIsDateValid"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("part") && !(dr["part"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_part = Convert.ToInt32(dr["part"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("full_max") && !(dr["full_max"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_full_max = Convert.ToDecimal(dr["full_max"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("bulkMax") && !(dr["bulkMax"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_bulkMax = Convert.ToDecimal(dr["bulkMax"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("bulkMax1") && !(dr["bulkMax1"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_bulkMax1 = Convert.ToDecimal(dr["bulkMax1"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("batchMax1") && !(dr["batchMax1"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_batchMax1 = Convert.ToDecimal(dr["batchMax1"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("batchMax2") && !(dr["batchMax2"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_batchMax2 = Convert.ToDecimal(dr["batchMax2"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("batchMax3") && !(dr["batchMax3"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_batchMax3 = Convert.ToDecimal(dr["batchMax3"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("batchMax4") && !(dr["batchMax4"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_batchMax4 = Convert.ToDecimal(dr["batchMax4"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("length") && !(dr["length"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_length = Convert.ToDecimal(dr["length"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("width") && !(dr["width"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_width = Convert.ToDecimal(dr["width"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("height") && !(dr["height"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_height = Convert.ToDecimal(dr["height"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("weight") && !(dr["weight"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_weight = Convert.ToDecimal(dr["weight"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("validTermDays") && !(dr["validTermDays"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_validTermDays = Convert.ToInt32(dr["validTermDays"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("bigCount") && !(dr["bigCount"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_bigCount = Convert.ToDecimal(dr["bigCount"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("repType") && !(dr["repType"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_repType = Convert.ToInt32(dr["repType"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("ABC") && !(dr["ABC"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_ABC = Convert.ToInt32(dr["ABC"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("lowStore") && !(dr["lowStore"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_lowStore = Convert.ToDecimal(dr["lowStore"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("highStore") && !(dr["highStore"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_highStore = Convert.ToDecimal(dr["highStore"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("tempRequired") && !(dr["tempRequired"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_tempRequired = Convert.ToBoolean(dr["tempRequired"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("temperature") && !(dr["temperature"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_temperature = Convert.ToDecimal(dr["temperature"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("canSeedOut") && !(dr["canSeedOut"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_canSeedOut = Convert.ToBoolean(dr["canSeedOut"].ToString()); ;
|
|
|
|
|
}
|
2023-11-21 19:18:23 +08:00
|
|
|
|
if (dr.Table.Columns.Contains("canZhitong") && !(dr["canZhitong"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_canZhitong = Convert.ToBoolean(dr["canZhitong"].ToString()); ;
|
|
|
|
|
}
|
2023-09-04 22:41:19 +08:00
|
|
|
|
if (dr.Table.Columns.Contains("operater") && !(dr["operater"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_operater = Convert.ToInt32(dr["operater"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("minOperateUnit") && !(dr["minOperateUnit"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_minOperateUnit = dr["minOperateUnit"].ToString() ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("minOperateCount") && !(dr["minOperateCount"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_minOperateCount = Convert.ToDecimal(dr["minOperateCount"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("expiryDays") && !(dr["expiryDays"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_expiryDays = Convert.ToInt32(dr["expiryDays"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("lastmodified") && !(dr["lastmodified"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_lastmodified = dr["lastmodified"].ToString() ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("createtime") && !(dr["createtime"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_createtime = dr["createtime"].ToString() ;
|
|
|
|
|
}
|
|
|
|
|
if (dr.Table.Columns.Contains("dr") && !(dr["dr"] is DBNull))
|
|
|
|
|
{
|
|
|
|
|
_dr = Convert.ToBoolean(dr["dr"].ToString()); ;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public WcfWmsGoods( WmsGoods dbObj){
|
|
|
|
|
#region get data from dbobj
|
|
|
|
|
|
|
|
|
|
_ID= dbObj.ID;
|
|
|
|
|
goodsId = dbObj.goodsId;
|
|
|
|
|
|
|
|
|
|
goodsType = dbObj.goodsType;
|
|
|
|
|
|
|
|
|
|
ownerCode = dbObj.ownerCode;
|
|
|
|
|
|
|
|
|
|
plotId = dbObj.plotId;
|
|
|
|
|
|
|
|
|
|
pIsDateValid = dbObj.pIsDateValid;
|
|
|
|
|
|
|
|
|
|
part = dbObj.part;
|
|
|
|
|
|
|
|
|
|
full_max = dbObj.full_max;
|
|
|
|
|
|
|
|
|
|
bulkMax = dbObj.bulkMax;
|
|
|
|
|
|
|
|
|
|
bulkMax1 = dbObj.bulkMax1;
|
|
|
|
|
|
|
|
|
|
batchMax1 = dbObj.batchMax1;
|
|
|
|
|
|
|
|
|
|
batchMax2 = dbObj.batchMax2;
|
|
|
|
|
|
|
|
|
|
batchMax3 = dbObj.batchMax3;
|
|
|
|
|
|
|
|
|
|
batchMax4 = dbObj.batchMax4;
|
|
|
|
|
|
|
|
|
|
length = dbObj.length;
|
|
|
|
|
|
|
|
|
|
width = dbObj.width;
|
|
|
|
|
|
|
|
|
|
height = dbObj.height;
|
|
|
|
|
|
|
|
|
|
weight = dbObj.weight;
|
|
|
|
|
|
|
|
|
|
validTermDays = dbObj.validTermDays;
|
|
|
|
|
|
|
|
|
|
bigCount = dbObj.bigCount;
|
|
|
|
|
|
|
|
|
|
repType = dbObj.repType;
|
|
|
|
|
|
|
|
|
|
ABC = dbObj.ABC;
|
|
|
|
|
|
|
|
|
|
lowStore = dbObj.lowStore;
|
|
|
|
|
|
|
|
|
|
highStore = dbObj.highStore;
|
|
|
|
|
|
|
|
|
|
tempRequired = dbObj.tempRequired;
|
|
|
|
|
|
|
|
|
|
temperature = dbObj.temperature;
|
|
|
|
|
|
|
|
|
|
canSeedOut = dbObj.canSeedOut;
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
canZhitong = dbObj.canZhitong;
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
operater = dbObj.operater;
|
|
|
|
|
|
|
|
|
|
minOperateUnit = dbObj.minOperateUnit;
|
|
|
|
|
|
|
|
|
|
minOperateCount = dbObj.minOperateCount;
|
|
|
|
|
|
|
|
|
|
expiryDays = dbObj.expiryDays;
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
#region Public Properties
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int ID{
|
|
|
|
|
get {return _ID;}
|
|
|
|
|
set {_ID = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string goodsId{
|
|
|
|
|
get {return _goodsId;}
|
|
|
|
|
set {_goodsId = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int goodsType{
|
|
|
|
|
get {return _goodsType;}
|
|
|
|
|
set {_goodsType = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string ownerCode{
|
|
|
|
|
get {return _ownerCode;}
|
|
|
|
|
set {_ownerCode = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int plotId{
|
|
|
|
|
get {return _plotId;}
|
|
|
|
|
set {_plotId = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public bool pIsDateValid{
|
|
|
|
|
get {return _pIsDateValid;}
|
|
|
|
|
set {_pIsDateValid = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public int part{
|
|
|
|
|
get {return _part;}
|
|
|
|
|
set {_part = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal full_max{
|
|
|
|
|
get {return _full_max;}
|
|
|
|
|
set {_full_max = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal bulkMax{
|
|
|
|
|
get {return _bulkMax;}
|
|
|
|
|
set {_bulkMax = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal bulkMax1{
|
|
|
|
|
get {return _bulkMax1;}
|
|
|
|
|
set {_bulkMax1 = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal batchMax1{
|
|
|
|
|
get {return _batchMax1;}
|
|
|
|
|
set {_batchMax1 = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal batchMax2{
|
|
|
|
|
get {return _batchMax2;}
|
|
|
|
|
set {_batchMax2 = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal batchMax3{
|
|
|
|
|
get {return _batchMax3;}
|
|
|
|
|
set {_batchMax3 = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal batchMax4{
|
|
|
|
|
get {return _batchMax4;}
|
|
|
|
|
set {_batchMax4 = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal length{
|
|
|
|
|
get {return _length;}
|
|
|
|
|
set {_length = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal width{
|
|
|
|
|
get {return _width;}
|
|
|
|
|
set {_width = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal height{
|
|
|
|
|
get {return _height;}
|
|
|
|
|
set {_height = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal weight{
|
|
|
|
|
get {return _weight;}
|
|
|
|
|
set {_weight = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int validTermDays{
|
|
|
|
|
get {return _validTermDays;}
|
|
|
|
|
set {_validTermDays = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal bigCount{
|
|
|
|
|
get {return _bigCount;}
|
|
|
|
|
set {_bigCount = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int repType{
|
|
|
|
|
get {return _repType;}
|
|
|
|
|
set {_repType = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int ABC{
|
|
|
|
|
get {return _ABC;}
|
|
|
|
|
set {_ABC = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal lowStore{
|
|
|
|
|
get {return _lowStore;}
|
|
|
|
|
set {_lowStore = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal highStore{
|
|
|
|
|
get {return _highStore;}
|
|
|
|
|
set {_highStore = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public bool tempRequired{
|
|
|
|
|
get {return _tempRequired;}
|
|
|
|
|
set {_tempRequired = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal temperature{
|
|
|
|
|
get {return _temperature;}
|
|
|
|
|
set {_temperature = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public bool canSeedOut{
|
|
|
|
|
get {return _canSeedOut;}
|
|
|
|
|
set {_canSeedOut = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public bool canZhitong{
|
|
|
|
|
get {return _canZhitong;}
|
|
|
|
|
set {_canZhitong = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public int operater{
|
|
|
|
|
get {return _operater;}
|
|
|
|
|
set {_operater = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public string minOperateUnit{
|
|
|
|
|
get {return _minOperateUnit;}
|
|
|
|
|
set {_minOperateUnit = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public decimal minOperateCount{
|
|
|
|
|
get {return _minOperateCount;}
|
|
|
|
|
set {_minOperateCount = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public int expiryDays{
|
|
|
|
|
get {return _expiryDays;}
|
|
|
|
|
set {_expiryDays = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
[DataMember]
|
|
|
|
|
public string lastmodified{
|
|
|
|
|
get {return _lastmodified;}
|
|
|
|
|
set {_lastmodified = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public string createtime{
|
|
|
|
|
get {return _createtime;}
|
|
|
|
|
set {_createtime = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[DataMember]
|
|
|
|
|
public bool dr{
|
|
|
|
|
get {return _dr;}
|
|
|
|
|
set {_dr = value;}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public WmsGoods getDbObject(){
|
|
|
|
|
|
|
|
|
|
WmsGoods dbObj = new WmsGoods(ID);
|
2023-09-04 22:41:19 +08:00
|
|
|
|
dbObj.ID= ID ;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.goodsId = goodsId;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.goodsType = goodsType;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.ownerCode = ownerCode;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.plotId = plotId;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
|
|
|
|
dbObj.pIsDateValid = pIsDateValid;
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.part = part;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.full_max = full_max;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.bulkMax = bulkMax;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.bulkMax1 = bulkMax1;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.batchMax1 = batchMax1;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.batchMax2 = batchMax2;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.batchMax3 = batchMax3;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.batchMax4 = batchMax4;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.length = length;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.width = width;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.height = height;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.weight = weight;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.validTermDays = validTermDays;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.bigCount = bigCount;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.repType = repType;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.ABC = ABC;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.lowStore = lowStore;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.highStore = highStore;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
|
|
|
|
dbObj.tempRequired = tempRequired;
|
|
|
|
|
|
|
|
|
|
dbObj.temperature = temperature;
|
|
|
|
|
|
|
|
|
|
dbObj.canSeedOut = canSeedOut;
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
dbObj.canZhitong = canZhitong;
|
|
|
|
|
|
2023-05-23 16:13:17 +08:00
|
|
|
|
dbObj.operater = operater;
|
2023-09-04 22:41:19 +08:00
|
|
|
|
|
|
|
|
|
dbObj.minOperateUnit = minOperateUnit;
|
|
|
|
|
|
|
|
|
|
dbObj.minOperateCount = minOperateCount;
|
|
|
|
|
|
|
|
|
|
dbObj.expiryDays = expiryDays;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
return dbObj;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public WcfWmsGoods getWcfObject( WmsGoods dbObj){
|
|
|
|
|
|
|
|
|
|
WcfWmsGoods wcfObj = new WcfWmsGoods();
|
2023-09-04 22:41:19 +08:00
|
|
|
|
wcfObj.ID= dbObj.ID;
|
|
|
|
|
wcfObj.goodsId = dbObj.goodsId;
|
|
|
|
|
|
|
|
|
|
wcfObj.goodsType = dbObj.goodsType;
|
|
|
|
|
|
|
|
|
|
wcfObj.ownerCode = dbObj.ownerCode;
|
|
|
|
|
|
|
|
|
|
wcfObj.plotId = dbObj.plotId;
|
|
|
|
|
|
|
|
|
|
wcfObj.pIsDateValid = dbObj.pIsDateValid;
|
|
|
|
|
|
|
|
|
|
wcfObj.part = dbObj.part;
|
|
|
|
|
|
|
|
|
|
wcfObj.full_max = dbObj.full_max;
|
|
|
|
|
|
|
|
|
|
wcfObj.bulkMax = dbObj.bulkMax;
|
|
|
|
|
|
|
|
|
|
wcfObj.bulkMax1 = dbObj.bulkMax1;
|
|
|
|
|
|
|
|
|
|
wcfObj.batchMax1 = dbObj.batchMax1;
|
|
|
|
|
|
|
|
|
|
wcfObj.batchMax2 = dbObj.batchMax2;
|
|
|
|
|
|
|
|
|
|
wcfObj.batchMax3 = dbObj.batchMax3;
|
|
|
|
|
|
|
|
|
|
wcfObj.batchMax4 = dbObj.batchMax4;
|
|
|
|
|
|
|
|
|
|
wcfObj.length = dbObj.length;
|
|
|
|
|
|
|
|
|
|
wcfObj.width = dbObj.width;
|
|
|
|
|
|
|
|
|
|
wcfObj.height = dbObj.height;
|
|
|
|
|
|
|
|
|
|
wcfObj.weight = dbObj.weight;
|
|
|
|
|
|
|
|
|
|
wcfObj.validTermDays = dbObj.validTermDays;
|
|
|
|
|
|
|
|
|
|
wcfObj.bigCount = dbObj.bigCount;
|
|
|
|
|
|
|
|
|
|
wcfObj.repType = dbObj.repType;
|
|
|
|
|
|
|
|
|
|
wcfObj.ABC = dbObj.ABC;
|
|
|
|
|
|
|
|
|
|
wcfObj.lowStore = dbObj.lowStore;
|
|
|
|
|
|
|
|
|
|
wcfObj.highStore = dbObj.highStore;
|
|
|
|
|
|
|
|
|
|
wcfObj.tempRequired = dbObj.tempRequired;
|
|
|
|
|
|
|
|
|
|
wcfObj.temperature = dbObj.temperature;
|
|
|
|
|
|
|
|
|
|
wcfObj.canSeedOut = dbObj.canSeedOut;
|
|
|
|
|
|
2023-11-21 19:18:23 +08:00
|
|
|
|
wcfObj.canZhitong = dbObj.canZhitong;
|
|
|
|
|
|
2023-09-04 22:41:19 +08:00
|
|
|
|
wcfObj.operater = dbObj.operater;
|
|
|
|
|
|
|
|
|
|
wcfObj.minOperateUnit = dbObj.minOperateUnit;
|
|
|
|
|
|
|
|
|
|
wcfObj.minOperateCount = dbObj.minOperateCount;
|
|
|
|
|
|
|
|
|
|
wcfObj.expiryDays = dbObj.expiryDays;
|
2023-05-23 16:13:17 +08:00
|
|
|
|
|
|
|
|
|
return wcfObj;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|