ldj/Model/platform/data/basic/Log_base.cs

139 lines
3.7 KiB
C#

/// <summary>
///Data Object
///BASIC CLASS FOR TABLE t_Log
///By wm
///on 08/04/2023
/// </summary>
using System;
using System.Data;
using DeiNiu.Data.BaseObject;
namespace DeiNiu.wms.Data.Model
{
#region Log_base
/// <summary>
/// This object represents the properties and methods of a Log_base.
/// </summary>
[Serializable]
public class Log_base : BaseModel {
internal int _log_empid,_Olog_empid;
internal string _log_account = String.Empty,_Olog_account= String.Empty;
internal string _log_sessionid = String.Empty,_Olog_sessionid= String.Empty;
internal string _log_page = String.Empty,_Olog_page= String.Empty;
internal string _log_method = String.Empty,_Olog_method= String.Empty;
internal string _log_sql = String.Empty,_Olog_sql= String.Empty;
internal string _log_parameters = String.Empty,_Olog_parameters= String.Empty;
internal string _log_exception = String.Empty,_Olog_exception= String.Empty;
internal string _log_clientip = String.Empty,_Olog_clientip= String.Empty;
internal string _log_browseinfo = String.Empty,_Olog_browseinfo= String.Empty;
internal int _Ooperater;
internal string _create_time = String.Empty,_Ocreate_time= String.Empty;
public Log_base () {
}
public Log_base (int id) {
_id=id;
getModel();
}
public Log_base(DataRow dr)
{
getModel(dr);
}
public Log_base(System.Data.SqlClient.SqlConnection _Conn)
: base(_Conn)
{
}
protected override void getImp()
{
model_imp = new Log_base_Imp();
}
#region Public Properties
public int log_empid{
get {return _log_empid;}
set {_log_empid = value;}
}
public string log_account{
get {return _log_account;}
set {_log_account = value;}
}
public string log_sessionid{
get {return _log_sessionid;}
set {_log_sessionid = value;}
}
public string log_page{
get {return _log_page;}
set {_log_page = value;}
}
public string log_method{
get {return _log_method;}
set {_log_method = value;}
}
public string log_sql{
get {return _log_sql;}
set {_log_sql = value;}
}
public string log_parameters{
get {return _log_parameters;}
set {_log_parameters = value;}
}
public string log_exception{
get {return _log_exception;}
set {_log_exception = value;}
}
public string log_clientip{
get {return _log_clientip;}
set {_log_clientip = value;}
}
public string log_browseinfo{
get {return _log_browseinfo;}
set {_log_browseinfo = 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{log_empid,log_account,log_sessionid,log_page,log_method,log_sql,log_parameters,log_exception,log_clientip,log_browseinfo,operater}
#endregion
}
#endregion
}