using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ProjectBase.Data.BaseDAL; namespace SIMDP.Model { /// /// 记录操作日志的数据表配置 /// [Serializable] public class MoLogOperationSetting : BaseEntity { #region Field Members private long m_LogID = 0; // 日志ID private bool m_Forbid = false; //是否禁用 private string m_TableName; //数据库表名称 private bool m_InsertLog = false; //记录插入日志 private bool m_DeleteLog = false; //记录删除日志 private bool m_UpdateLog = false; //记录更新日志 private string m_CreatorAccount; //创建人账号 private string m_CreatorName; //创建人名称 private DateTime m_CreateTime = System.DateTime.Now; //创建时间 private string m_EditorAccount; //编辑人账号 private string m_EditorName; //编辑人名称 private DateTime m_EditTime = System.DateTime.Now; //编辑时间 #endregion #region Property Members /// /// // 日志ID /// public virtual long ID { get { return this.m_LogID; } set { this.m_LogID = value; } } /// /// 是否禁用 /// public virtual bool Forbid { get { return this.m_Forbid; } set { this.m_Forbid = value; } } /// /// 数据库表名称 /// public virtual string TableName { get { return this.m_TableName; } set { this.m_TableName = value; } } /// /// 记录插入日志 /// public virtual bool InsertLog { get { return this.m_InsertLog; } set { this.m_InsertLog = value; } } /// /// 记录删除日志 /// public virtual bool DeleteLog { get { return this.m_DeleteLog; } set { this.m_DeleteLog = value; } } /// /// 记录更新日志 /// public virtual bool UpdateLog { get { return this.m_UpdateLog; } set { this.m_UpdateLog = value; } } /// /// 创建人账号 /// public virtual string CreatorAccount { get { return this.m_CreatorAccount; } set { this.m_CreatorAccount = value; } } /// /// 创建人名称 /// public virtual string CreatorName { get { return this.m_CreatorName; } set { this.m_CreatorName = value; } } /// /// 创建时间 /// public virtual DateTime CreateTime { get { return this.m_CreateTime; } set { this.m_CreateTime = value; } } /// /// 编辑人账号 /// public virtual string EditorAccount { get { return this.m_EditorAccount; } set { this.m_EditorAccount = value; } } /// /// 编辑人名称 /// public virtual string EditorName { get { return this.m_EditorName; } set { this.m_EditorName = value; } } /// /// 编辑时间 /// public virtual DateTime EditTime { get { return this.m_EditTime; } set { this.m_EditTime = value; } } #endregion } }