91 lines
1.9 KiB
C#
91 lines
1.9 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_Lot
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region Lot_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a Lot_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Lot_base : BaseModel {
|
|
|
|
|
|
internal string _lotName = String.Empty,_OlotName= String.Empty;
|
|
internal string _description = String.Empty,_Odescription= String.Empty;
|
|
internal int _Ooperater;
|
|
|
|
internal string _createtime = String.Empty,_Ocreatetime= String.Empty;
|
|
|
|
|
|
public Lot_base () {
|
|
}
|
|
public Lot_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public Lot_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public Lot_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Lot_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public string lotName{
|
|
get {return _lotName;}
|
|
set {_lotName = value;}
|
|
}
|
|
|
|
public string description{
|
|
get {return _description;}
|
|
set {_description = 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{lotName,description,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|