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

109 lines
2.3 KiB
C#

/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_Customer
///By wm
///on 06/25/2020
/// </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 {
internal string _customerId = String.Empty;
internal int _custType;
internal int _pickType;
internal int _pickGroup;
internal int _pickStartOn;
internal string _createtime = String.Empty;
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;}
}
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{customerId,custType,pickType,pickGroup,pickStartOn,operater}
#endregion
}
#endregion
}