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

115 lines
2.6 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_LotAtt
///By wm
2023-09-04 22:41:19 +08:00
///on 08/04/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 LotAtt_base
/// <summary>
/// This object represents the properties and methods of a LotAtt_base.
/// </summary>
[Serializable]
public class LotAtt_base : BaseModel {
2023-09-04 22:41:19 +08:00
internal int _lotId,_OlotId;
internal string _attName = String.Empty,_OattName= String.Empty;
internal int _attType,_OattType;
internal bool _isList,_OisList;
internal int _listId,_OlistId;
internal bool _isOptional,_OisOptional;
internal int _Ooperater;
2023-05-23 16:13:17 +08:00
2023-09-04 22:41:19 +08:00
internal string _createtime = String.Empty,_Ocreatetime= String.Empty;
2023-05-23 16:13:17 +08:00
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
}