SysDept.cs 2.36 KB
using SqlSugar;
using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hh.Mes.POJO.Entity
{
    /// <summary>
	/// 部门表
	/// </summary>
    [Table("sys_dept")]
    public partial class SysDept : base_Entity
    {
        public SysDept()
        {
        }

        /// <summary>
        /// Id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        [Column("id")]
        public int Id { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        [Column("createBy")]
        public string CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [Column("createTime")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        [Column("updateBy")]
        public string UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [Column("updateTime")]
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 父级Id
        /// </summary>
        [Column("ParentId")]
        public int? ParentId { get; set; }

        /// <summary>
        /// 父级名称
        /// </summary>
        [Column("ParentName")]
        public string ParentName { get; set; }

        /// <summary>
	    /// 分支Id
	    /// </summary>
        [Column("CascadeId")]
        public string CascadeId { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        [Column("name")]
        public string Name { get; set; }
        /// <summary>
	    /// 快捷键
	    /// </summary>
        [Column("HotKey")]
        public string HotKey { get; set; }
        /// <summary>
	    /// 分支
	    /// </summary>
        [Column("IsLeaf")]
        public bool? IsLeaf { get; set; }
        /// <summary>
	    /// 自动展开
	    /// </summary>
        [Column("IsAutoExpand")]
        public bool? IsAutoExpand { get; set; }
        /// <summary>
	    /// 图标
	    /// </summary>
        [Column("IconName")]
        public string IconName { get; set; }
        /// <summary>
	    /// 状态
	    /// </summary>
        [Column("Status")]
        public int? Status { get; set; }
        /// <summary>
	    /// 排序号
	    /// </summary>
        [Column("SortNo")]
        public int? SortNo { get; set; }
    }
}