//-----------------------------------------------------------------------
// <copyright file=" sys_menu.cs">
// * FileName: 菜单表.cs 
// </copyright>
//-----------------------------------------------------------------------
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Performance.EntityModels
{
    /// <summary>
    /// 菜单表
    /// </summary>
    [Table("sys_menu")]
    public class sys_menu
    {
        /// <summary>
        /// 
        /// </summary>
        [Key]
        public int ID { get; set; }

        /// <summary>
        /// 父级菜单ID
        /// </summary>
        public int ParentID { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public string MenuName { get; set; }

        /// <summary>
        /// 菜单Url
        /// </summary>
        public string MenuUrl { get; set; }

        /// <summary>
        /// 菜单图标
        /// </summary>
        public string MenuIcon { get; set; }

        /// <summary>
        /// 菜单状态 1 启用 2禁用
        /// </summary>
        public int States { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Nullable<int> Sort { get; set; }
    }
}
