- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2009-11-11 19:08:07
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 Sys_Log
- /// </summary>
- [Serializable]
- public class Sys_Log
- {
- public Sys_Log()
- { }
- /// <summary>
- /// 构造函数 Sys_Log
- /// </summary>
- /// <param name="logId">日志Id</param>
- /// <param name="userId">用户第</param>
- /// <param name="logTime">记录时间</param>
- /// <param name="ip">IP地址</param>
- /// <param name="type">日志类型(对应Sys_Code表CodeNo)</param>
- /// <param name="remark">日志内容</param>
- public Sys_Log(int logId, string userId, DateTime logTime, string ip, int type, string remark)
- {
- _logId = logId;
- _userId = userId;
- _logTime = logTime;
- _ip = ip;
- _type = type;
- _remark = remark;
- }
- #region Model
- private int _logId;
- private string _userId;
- private DateTime _logTime;
- private string _ip;
- private int _type;
- private string _remark;
- /// <summary>
- /// 日志Id
- /// </summary>
- public int LogId
- {
- set { _logId = value; }
- get { return _logId; }
- }
- /// <summary>
- /// 用户第
- /// </summary>
- public string UserId
- {
- set { _userId = value; }
- get { return _userId; }
- }
- /// <summary>
- /// 记录时间
- /// </summary>
- public DateTime LogTime
- {
- set { _logTime = value; }
- get { return _logTime; }
- }
- /// <summary>
- /// IP地址
- /// </summary>
- public string Ip
- {
- set { _ip = value; }
- get { return _ip; }
- }
- /// <summary>
- /// 日志类型(对应Sys_Code表CodeNo)
- /// </summary>
- public int Type
- {
- set { _type = value; }
- get { return _type; }
- }
- /// <summary>
- /// 日志内容
- /// </summary>
- public string Remark
- {
- set { _remark = value; }
- get { return _remark; }
- }
- #endregion Model
- }
- }