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

121 lines
2.9 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_Customer
///By wm
2023-09-04 22:41:19 +08:00
///on 08/17/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 Customer_base
/// <summary>
/// This object represents the properties and methods of a Customer_base.
/// </summary>
[Serializable]
public class Customer_base : BaseModel {
2023-09-04 22:41:19 +08:00
internal string _customerId = String.Empty,_OcustomerId= String.Empty;
internal int _custType,_OcustType;
internal int _pickType,_OpickType;
internal int _pickGroup,_OpickGroup;
internal int _pickStartOn,_OpickStartOn;
internal int _pickInterval,_OpickInterval;
internal string _lastOutTime = String.Empty,_OlastOutTime= String.Empty;
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 Customer_base () {
}
public Customer_base (int id) {
_id=id;
getModel();
}
public Customer_base(DataRow dr)
{
getModel(dr);
}
public Customer_base(System.Data.SqlClient.SqlConnection _Conn)
: base(_Conn)
{
}
protected override void getImp()
{
model_imp = new Customer_base_Imp();
}
#region Public Properties
public string customerId{
get {return _customerId;}
set {_customerId = value;}
}
public int custType{
get {return _custType;}
set {_custType = value;}
}
public int pickType{
get {return _pickType;}
set {_pickType = value;}
}
public int pickGroup{
get {return _pickGroup;}
set {_pickGroup = value;}
}
public int pickStartOn{
get {return _pickStartOn;}
set {_pickStartOn = value;}
}
2023-09-04 22:41:19 +08:00
public int pickInterval{
get {return _pickInterval;}
set {_pickInterval = value;}
}
public string lastOutTime{
get {return _lastOutTime;}
set {_lastOutTime = value;}
}
2023-05-23 16:13:17 +08:00
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
2023-09-04 22:41:19 +08:00
public enum fields{customerId,custType,pickType,pickGroup,pickStartOn,pickInterval,lastOutTime,operater}
2023-05-23 16:13:17 +08:00
#endregion
}
#endregion
}