using ProjectBase.Data.BaseDAL; using ProjectBase.Util; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SIMDP.Model { /// /// 登陆系统的黑白名单列表 /// [Serializable] public class MoWhite : BaseEntity { public MoWhite() { this.CurrentLoginUserId = SysEnvironment.CurrentLoginID; } #region Field Members private long m_ID = 0; // private string m_Name; //显示名称 private string m_UserAccount; //所属用户账号 private string m_UserName; //所属用户名称 private int m_Type = 0; //授权类型 private bool m_Forbid = false; //是否禁用 private string m_IPStart; //IP起始地址 private string m_IPEnd; //IP结束地址 private string m_Note; //备注 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 public virtual long ID { get { return this.m_ID; } set { this.m_ID = value; } } /// /// 显示名称 /// public virtual string Name { get { return this.m_Name; } set { this.m_Name = value; } } /// /// 所属用户账号 /// public virtual string UserAccount { get { return this.m_UserAccount; } set { this.m_UserAccount = value; } } /// /// 所属用户名称 /// public virtual string UserName { get { return this.m_UserName; } set { this.m_UserName = value; } } /// /// 授权类型[0为黑名单,1为白名单 ) /// public virtual int Type { get { return this.m_Type; } set { this.m_Type = value; } } /// /// 是否禁用 /// public virtual bool Forbid { get { return this.m_Forbid; } set { this.m_Forbid = value; } } /// /// IP起始地址 /// public virtual string IPStart { get { return this.m_IPStart; } set { this.m_IPStart = value; } } /// /// IP结束地址 /// public virtual string IPEnd { get { return this.m_IPEnd; } set { this.m_IPEnd = value; } } /// /// 备注 /// public virtual string Note { get { return this.m_Note; } set { this.m_Note = 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 } }