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

115 lines
2.4 KiB
C#

/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_LotAtt
///By wm
///on 06/25/2020
/// </summary>
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
namespace DeiNiu.wms.Data.Model
{
#region LotAtt_base
/// <summary>
/// This object represents the properties and methods of a LotAtt_base.
/// </summary>
[Serializable]
public class LotAtt_base : BaseModel {
internal int _lotId;
internal string _attName = String.Empty;
internal int _attType;
internal bool _isList;
internal int _listId;
internal bool _isOptional;
internal string _createtime = String.Empty;
public LotAtt_base () {
}
public LotAtt_base (int id) {
_id=id;
getModel();
}
public LotAtt_base(DataRow dr)
{
getModel(dr);
}
public LotAtt_base(System.Data.SqlClient.SqlConnection _Conn)
: base(_Conn)
{
}
protected override void getImp()
{
model_imp = new LotAtt_base_Imp();
}
#region Public Properties
public int lotId{
get {return _lotId;}
set {_lotId = value;}
}
public string attName{
get {return _attName;}
set {_attName = value;}
}
public int attType{
get {return _attType;}
set {_attType = value;}
}
public bool isList{
get {return _isList;}
set {_isList = value;}
}
public int listId{
get {return _listId;}
set {_listId = value;}
}
public bool isOptional{
get {return _isOptional;}
set {_isOptional = 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{lotId,attName,attType,isList,listId,isOptional,operater}
#endregion
}
#endregion
}