using SqlSugar;

namespace Waste.Domain
{
    /// <summary>
    /// 菜单
    /// </summary>
    public class W_Menu
    {
        /// <summary>
        /// 菜单
        /// </summary>
        public W_Menu()
        {
        }

        private System.Guid _Id;
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.Guid Id { get { return this._Id; } set { this._Id = value; } }

        private System.Guid _ParentId;
        /// <summary>
        /// 父ID
        /// </summary>
        public System.Guid ParentId { get { return this._ParentId; } set { this._ParentId = value; } }

        private System.String _Name;
        /// <summary>
        /// 名称
        /// </summary>
        public System.String Name { get { return this._Name; } set { this._Name = value?.Trim(); } }

        private System.String _Icon;
        /// <summary>
        /// 图标
        /// </summary>
        public System.String Icon { get { return this._Icon; } set { this._Icon = value?.Trim(); } }

        private System.String _UrlAddress;
        /// <summary>
        /// 链接
        /// </summary>
        public System.String UrlAddress { get { return this._UrlAddress; } set { this._UrlAddress = value?.Trim(); } }

        private System.Int32 _SortCode;
        /// <summary>
        /// 排序
        /// </summary>
        public System.Int32 SortCode { get { return this._SortCode; } set { this._SortCode = value; } }

        private System.Int32 _Status;
        /// <summary>
        /// 状态
        /// </summary>
        public System.Int32 Status { get { return this._Status; } set { this._Status = value; } }

        private System.DateTime _CreateTime;
        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime { get { return this._CreateTime; } set { this._CreateTime = value; } }
    }
}