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

115 lines
2.6 KiB
C#
Raw Permalink Normal View History

2023-09-04 22:41:19 +08:00
/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_wmsStockRep
///By wm
///on 08/31/2023
/// </summary>
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
namespace DeiNiu.wms.Data.Model
{
#region WmsStockRep_base
/// <summary>
/// This object represents the properties and methods of a WmsStockRep_base.
/// </summary>
[Serializable]
public class WmsStockRep_base : BaseModel {
internal string _goodsId = String.Empty,_OgoodsId= String.Empty;
internal int _skuId,_OskuId;
internal string _batch = String.Empty,_Obatch= String.Empty;
internal decimal _repCont,_OrepCont;
internal decimal _lackCount,_OlackCount;
internal decimal _toRepCnt,_OtoRepCnt;
internal int _Ooperater;
internal string _createtime = String.Empty,_Ocreatetime= String.Empty;
public WmsStockRep_base () {
}
public WmsStockRep_base (int id) {
_id=id;
getModel();
}
public WmsStockRep_base(DataRow dr)
{
getModel(dr);
}
public WmsStockRep_base(System.Data.SqlClient.SqlConnection _Conn)
: base(_Conn)
{
}
protected override void getImp()
{
model_imp = new WmsStockRep_base_Imp();
}
#region Public Properties
public string goodsId{
get {return _goodsId;}
set {_goodsId = value;}
}
public int skuId{
get {return _skuId;}
set {_skuId = value;}
}
public string batch{
get {return _batch;}
set {_batch = value;}
}
public decimal repCont{
get {return _repCont;}
set {_repCont = value;}
}
public decimal lackCount{
get {return _lackCount;}
set {_lackCount = value;}
}
public decimal toRepCnt{
get {return _toRepCnt;}
set {_toRepCnt = value;}
}
public int operater{
get {return _operater;}
set {_operater = value;}
}
public string lastmodified{
get {return _lastmodified;}
}
public string createtime{
get {return _createtime;}
set {_createtime = value;}
}
public bool dr{
get {return _dr;}
}
#endregion
#region fieldNames
public enum fields{goodsId,skuId,batch,repCont,lackCount,toRepCnt,operater}
#endregion
}
#endregion
}