ldj/Model/wms/data/basic/WmsOrderDetail_base.cs

187 lines
5.0 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_wmsOrderDetail
///By wm
2023-11-21 19:18:23 +08:00
///on 10/01/2023
2023-05-23 16:13:17 +08:00
/// </summary>
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
namespace DeiNiu.wms.Data.Model
{
#region WmsOrderDetail_base
/// <summary>
/// This object represents the properties and methods of a WmsOrderDetail_base.
/// </summary>
[Serializable]
public class WmsOrderDetail_base : BaseModel {
internal string _orderNo = String.Empty,_OorderNo= String.Empty;
internal int _skuId,_OskuId;
internal string _skuCode = String.Empty,_OskuCode= String.Empty;
internal string _goodsId = String.Empty,_OgoodsId= String.Empty;
2023-09-04 22:41:19 +08:00
internal string _goodsName = String.Empty,_OgoodsName= String.Empty;
internal string _unit = String.Empty,_Ounit= String.Empty;
2023-05-23 16:13:17 +08:00
internal string _batch = String.Empty,_Obatch= String.Empty;
internal string _productDate = String.Empty,_OproductDate= String.Empty;
internal string _validDate = String.Empty,_OvalidDate= String.Empty;
internal decimal _count,_Ocount;
2023-11-21 19:18:23 +08:00
internal decimal _finishedCount,_OfinishedCount;
2023-05-23 16:13:17 +08:00
internal decimal _price,_Oprice;
internal int _state,_Ostate;
internal int _whtype,_Owhtype;
internal int _toWhType,_OtoWhType;
internal string _locationId = String.Empty,_OlocationId= String.Empty;
internal int _partion,_Opartion;
internal string _description = String.Empty,_Odescription= String.Empty;
internal int _Ooperater;
internal string _createtime = String.Empty,_Ocreatetime= String.Empty;
public WmsOrderDetail_base () {
}
public WmsOrderDetail_base (int id) {
_id=id;
getModel();
}
public WmsOrderDetail_base(DataRow dr)
{
getModel(dr);
}
public WmsOrderDetail_base(System.Data.SqlClient.SqlConnection _Conn)
: base(_Conn)
{
}
protected override void getImp()
{
model_imp = new WmsOrderDetail_base_Imp();
}
#region Public Properties
public string orderNo{
get {return _orderNo;}
set {_orderNo = value;}
}
public int skuId{
get {return _skuId;}
set {_skuId = value;}
}
public string skuCode{
get {return _skuCode;}
set {_skuCode = value;}
}
public string goodsId{
get {return _goodsId;}
set {_goodsId = value;}
}
2023-09-04 22:41:19 +08:00
public string goodsName{
get {return _goodsName;}
set {_goodsName = value;}
}
public string unit{
get {return _unit;}
set {_unit = value;}
}
2023-05-23 16:13:17 +08:00
public string batch{
get {return _batch;}
set {_batch = value;}
}
public string productDate{
get {return _productDate;}
set {_productDate = value;}
}
public string validDate{
get {return _validDate;}
set {_validDate = value;}
}
public decimal count{
get {return _count;}
set {_count = value;}
}
2023-11-21 19:18:23 +08:00
public decimal finishedCount{
get {return _finishedCount;}
set {_finishedCount = value;}
}
2023-05-23 16:13:17 +08:00
public decimal price{
get {return _price;}
set {_price = value;}
}
public int state{
get {return _state;}
set {_state = value;}
}
public int whtype{
get {return _whtype;}
set {_whtype = value;}
}
public int toWhType{
get {return _toWhType;}
set {_toWhType = value;}
}
public string locationId{
get {return _locationId;}
set {_locationId = value;}
}
public int partion{
get {return _partion;}
set {_partion = value;}
}
public string description{
get {return _description;}
set {_description = value;}
}
public int operater{
get {return _operater;}
set {_operater = value;}
}
public bool dr{
get {return _dr;}
}
public string createtime{
get {return _createtime;}
set {_createtime = value;}
}
public string lastmodified{
get {return _lastmodified;}
}
#endregion
#region fieldNames
2023-11-21 19:18:23 +08:00
public enum fields{orderNo,skuId,skuCode,goodsId,goodsName,unit,batch,productDate,validDate,count,finishedCount,price,state,whtype,toWhType,locationId,partion,description,operater}
2023-05-23 16:13:17 +08:00
#endregion
}
#endregion
}