ldj/da4log/Log.cs

131 lines
2.9 KiB
C#
Raw Normal View History

2023-05-23 16:13:17 +08:00
/// <summary>
///Data Object
///By wm with codesmith.
///on 2010?4?4?
/// </summary>
using System;
using myLlog;
namespace da4log
{
/// <summary>
/// This object represents the properties and methods of a Log.
/// </summary>
public class Log : BaseModel
{
// internal int _id;
internal int _log_empid;
internal string _log_sessionid = String.Empty;
internal string _log_page = String.Empty;
internal string _log_method = String.Empty;
internal string _log_sql = String.Empty;
internal string _log_parameters = String.Empty;
internal string _log_exception = String.Empty;
internal string _log_clientip = String.Empty;
internal string _log_browseinfo = String.Empty;
internal bool _dr;
internal int _operater;
internal string _create_time = String.Empty;
internal string _lastmodified = String.Empty;
public Log()
{
}
public Log(int id)
{
_id=id;
getModel();
}
#region Public Properties
/*
public int ID
{
get{ return _id;}
set{_id =value;}
}
*/
public int log_empid
{
get {return _log_empid;}
set {_log_empid = 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;}
set {_dr = value;}
}
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;}
set {_lastmodified = value;}
}
#endregion
}
}