You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using System ;
using SqlSugar ;
using System.ComponentModel.DataAnnotations ;
using System.ComponentModel.DataAnnotations.Schema ;
namespace Admin.Core.Model.Sys
{
///<summary>
///部门表实体类
///</summary>
[Table("SysDept")]
[SugarTable("SysDept", "admin_sqlite")]
public class SysDept
{
/// <summary>
/// 部门ID
/// </summary>
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required]
public int DeptID { get ; set ; }
/// <summary>
/// 父部门ID
/// </summary>
public int? ParentID { get ; set ; }
/// <summary>
/// 祖级列表
/// </summary>
public string Ancestors { get ; set ; }
/// <summary>
/// 部门名称
/// </summary>
public string DeptName { get ; set ; }
/// <summary>
/// 显示顺序
/// </summary>
public int? OrderNum { get ; set ; }
/// <summary>
/// 负责人
/// </summary>
public string Leader { get ; set ; }
/// <summary>
/// 联系电话
/// </summary>
public string Phone { get ; set ; }
/// <summary>
/// 邮箱
/// </summary>
public string Email { get ; set ; }
/// <summary>
/// 部门状态( 0正常 1停用)
/// </summary>
public int? Status { get ; set ; }
/// <summary>
/// 地址
/// </summary>
public string Address { get ; set ; }
/// <summary>
/// 坐标经度
/// </summary>
public string X_Point { get ; set ; }
/// <summary>
/// 坐标纬度
/// </summary>
public string Y_Point { get ; set ; }
/// <summary>
/// 删除标志( 0代表存在 1代表删除)
/// </summary>
public bool? DelFlag { get ; set ; }
/// <summary>
/// 创建者
/// </summary>
public string CreateBy { get ; set ; }
/// <summary>
/// 创建时间
/// </summary>
public DateTime ? CreateTime { get ; set ; }
/// <summary>
/// 更新者
/// </summary>
public string UpdateBy { get ; set ; }
/// <summary>
/// 更新时间
/// </summary>
public DateTime ? UpdateTime { get ; set ; }
}
}