121 lines
2.8 KiB
C#
121 lines
2.8 KiB
C#
/// <summary>
|
|
///Data Object
|
|
///BASIC CLASS FOR TABLE t_online
|
|
///By wm
|
|
///on 08/04/2023
|
|
/// </summary>
|
|
|
|
using System;
|
|
using System.Data;
|
|
using DeiNiu.Data.BaseObject;
|
|
|
|
namespace DeiNiu.wms.Data.Model
|
|
{
|
|
|
|
#region Online_base
|
|
/// <summary>
|
|
/// This object represents the properties and methods of a Online_base.
|
|
/// </summary>
|
|
[Serializable]
|
|
public class Online_base : BaseModel {
|
|
|
|
|
|
internal string _custId = String.Empty,_OcustId= String.Empty;
|
|
internal string _custName = String.Empty,_OcustName= String.Empty;
|
|
internal string _contact = String.Empty,_Ocontact= String.Empty;
|
|
internal string _phone = String.Empty,_Ophone= String.Empty;
|
|
internal int _state,_Ostate;
|
|
internal string _msg = String.Empty,_Omsg= String.Empty;
|
|
internal string _endDate = String.Empty,_OendDate= String.Empty;
|
|
|
|
internal int _Ooperater;
|
|
internal string _create_time = String.Empty,_Ocreate_time= String.Empty;
|
|
|
|
|
|
public Online_base () {
|
|
}
|
|
public Online_base (int id) {
|
|
_id=id;
|
|
getModel();
|
|
}
|
|
public Online_base(DataRow dr)
|
|
{
|
|
getModel(dr);
|
|
}
|
|
public Online_base(System.Data.SqlClient.SqlConnection _Conn)
|
|
: base(_Conn)
|
|
{
|
|
|
|
}
|
|
protected override void getImp()
|
|
{
|
|
model_imp = new Online_base_Imp();
|
|
}
|
|
#region Public Properties
|
|
public string custId{
|
|
get {return _custId;}
|
|
set {_custId = value;}
|
|
}
|
|
|
|
public string custName{
|
|
get {return _custName;}
|
|
set {_custName = value;}
|
|
}
|
|
|
|
public string contact{
|
|
get {return _contact;}
|
|
set {_contact = value;}
|
|
}
|
|
|
|
public string phone{
|
|
get {return _phone;}
|
|
set {_phone = value;}
|
|
}
|
|
|
|
public int state{
|
|
get {return _state;}
|
|
set {_state = value;}
|
|
}
|
|
|
|
public string msg{
|
|
get {return _msg;}
|
|
set {_msg = value;}
|
|
}
|
|
|
|
public string endDate{
|
|
get {return _endDate;}
|
|
set {_endDate = value;}
|
|
}
|
|
|
|
public bool dr{
|
|
get {return _dr;}
|
|
|
|
}
|
|
|
|
public int operater{
|
|
get {return _operater;}
|
|
set {_operater = value;}
|
|
}
|
|
|
|
public string create_time{
|
|
get {return _create_time;}
|
|
set {_create_time = value;}
|
|
}
|
|
|
|
public string lastmodified{
|
|
get {return _lastmodified;}
|
|
|
|
}
|
|
|
|
|
|
#endregion
|
|
|
|
#region fieldNames
|
|
public enum fields{custId,custName,contact,phone,state,msg,endDate,operater}
|
|
#endregion
|
|
|
|
|
|
}
|
|
#endregion
|
|
}
|