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 MoMenuInfo : BaseEntity { public MoMenuInfo() { this.CurrentLoginUserId = SysEnvironment.CurrentLoginID; } #region Field Members private string m_ID = System.Guid.NewGuid().ToString(); // private string m_PID = "-1"; //父ID private string m_Name; //显示名称 private string m_Icon; //图标 private long m_Seq; //排序 private string m_FunctionId; //功能ID private string m_WinformType; //Winform窗体类型 private string m_Url; //Web界面Url地址 private string m_WebIcon; //Web界面的菜单图标 private string m_SystemType_ID; //系统编号 private string m_Creator_ID; //创建人ID private DateTime m_CreateTime = System.DateTime.Now; //创建时间 private bool m_Deleted = false; //是否已删除 private bool m_Visible = true; //是否可见 #endregion #region Property Members public virtual string ID { get { return this.m_ID; } set { this.m_ID = value; } } /// /// 父ID /// public virtual string PID { get { return this.m_PID; } set { this.m_PID = value; } } /// /// 显示名称 /// public virtual string Name { get { return this.m_Name; } set { this.m_Name = value; } } /// /// 图标 /// public virtual string Icon { get { return this.m_Icon; } set { this.m_Icon = value; } } /// /// 排序 /// public virtual long Seq { get { return this.m_Seq; } set { this.m_Seq = value; } } /// /// 功能ID /// public virtual string FunctionId { get { return this.m_FunctionId; } set { this.m_FunctionId = value; } } /// /// 是否可见 /// public virtual bool Visible { get { return this.m_Visible; } set { this.m_Visible = value; } } /// /// Winform窗体类型 /// public virtual string WinformType { get { return this.m_WinformType; } set { this.m_WinformType = value; } } /// /// Web界面Url地址 /// public virtual string Url { get { return this.m_Url; } set { this.m_Url = value; } } /// /// Web界面的菜单图标 /// public virtual string WebIcon { get { return this.m_WebIcon; } set { this.m_WebIcon = value; } } /// /// 系统编号 /// public virtual string SystemType_ID { get { return this.m_SystemType_ID; } set { this.m_SystemType_ID = value; } } /// /// 创建人ID /// public virtual string Creator_ID { get { return this.m_Creator_ID; } set { this.m_Creator_ID = value; } } /// /// 创建时间 /// public virtual DateTime CreateTime { get { return this.m_CreateTime; } set { this.m_CreateTime = value; } } /// /// 是否已删除 /// public virtual bool Deleted { get { return this.m_Deleted; } set { this.m_Deleted = value; } } #endregion } }