322 lines
7.7 KiB
C#
322 lines
7.7 KiB
C#
|
/// <summary>
|
|||
|
///WCF Data Object
|
|||
|
///BASIC CLASS FOR TABLE t_wmsGoods
|
|||
|
///By wm
|
|||
|
///on 08/17/2018
|
|||
|
/// </summary>
|
|||
|
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Linq;
|
|||
|
using System.Web;
|
|||
|
using System.Runtime.Serialization;
|
|||
|
using DeiNiu.wms.Data.Model;
|
|||
|
|
|||
|
namespace DeiNiu.Wcf
|
|||
|
{
|
|||
|
|
|||
|
#region WcfWmsGoods
|
|||
|
/// <summary>
|
|||
|
/// This object represents the properties and methods of a WcfWmsGoods.
|
|||
|
/// </summary>
|
|||
|
[DataContract]
|
|||
|
public class WcfWmsGoods {
|
|||
|
|
|||
|
internal int _ID;
|
|||
|
internal string _goodsId = String.Empty;
|
|||
|
internal int _goodsType;
|
|||
|
internal string _ownerCode = String.Empty;
|
|||
|
internal int _plotId;
|
|||
|
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;
|
|||
|
internal int _operater;
|
|||
|
internal string _lastmodified = String.Empty;
|
|||
|
internal string _createtime = String.Empty;
|
|||
|
internal bool _dr;
|
|||
|
|
|||
|
public WcfWmsGoods () {
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
#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;}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
[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;}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
[DataMember]
|
|||
|
public int operater{
|
|||
|
get {return _operater;}
|
|||
|
set {_operater = value;}
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
[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);
|
|||
|
dbObj.ID = ID;
|
|||
|
dbObj.goodsId = goodsId;
|
|||
|
dbObj.goodsType = goodsType;
|
|||
|
dbObj.ownerCode = ownerCode;
|
|||
|
dbObj.plotId = plotId;
|
|||
|
dbObj.part = part;
|
|||
|
dbObj.full_max = full_max;
|
|||
|
dbObj.bulkMax = bulkMax;
|
|||
|
dbObj.bulkMax1 = bulkMax1;
|
|||
|
dbObj.batchMax1 = batchMax1;
|
|||
|
dbObj.batchMax2 = batchMax2;
|
|||
|
dbObj.batchMax3 = batchMax3;
|
|||
|
dbObj.batchMax4 = batchMax4;
|
|||
|
dbObj.length = length;
|
|||
|
dbObj.width = width;
|
|||
|
dbObj.height = height;
|
|||
|
dbObj.weight = weight;
|
|||
|
dbObj.validTermDays = validTermDays;
|
|||
|
dbObj.bigCount = bigCount;
|
|||
|
dbObj.repType = repType;
|
|||
|
dbObj.ABC = ABC;
|
|||
|
dbObj.lowStore = lowStore;
|
|||
|
dbObj.highStore = highStore;
|
|||
|
dbObj.operater = operater;
|
|||
|
|
|||
|
return dbObj;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
public WcfWmsGoods getWcfObject( WmsGoods dbObj){
|
|||
|
|
|||
|
WcfWmsGoods wcfObj = new WcfWmsGoods();
|
|||
|
wcfObj.ID = dbObj.ID;
|
|||
|
wcfObj.goodsId = dbObj.goodsId;
|
|||
|
wcfObj.goodsType = dbObj.goodsType;
|
|||
|
wcfObj.ownerCode = dbObj.ownerCode;
|
|||
|
wcfObj.plotId = dbObj.plotId;
|
|||
|
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.operater = dbObj.operater;
|
|||
|
|
|||
|
return wcfObj;
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
}
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#endregion
|
|||
|
}
|