using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Admin.Core.Model
{
///
///部门表实体类
///
[Table("SysDept")]
[SugarTable( "SysDept", "admin_sqlite")]
public class SysDept
{
///
/// 部门ID
///
[Key]
[SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
[Required]
public int DeptID { get; set; }
///
/// 父部门ID
///
public int? ParentID { get; set; }
///
/// 祖级列表
///
public string Ancestors { get; set; }
///
/// 部门名称
///
public string DeptName { get; set; }
///
/// 显示顺序
///
public int? OrderNum { get; set; }
///
/// 负责人
///
public string Leader { get; set; }
///
/// 联系电话
///
public string Phone { get; set; }
///
/// 邮箱
///
public string Email { get; set; }
///
/// 部门状态(0正常 1停用)
///
public int? Status { get; set; }
///
/// 地址
///
public string Address { get; set; }
///
/// 坐标经度
///
public string X_Point { get; set; }
///
/// 坐标纬度
///
public string Y_Point { get; set; }
///
/// 删除标志(0代表存在 1代表删除)
///
public bool? DelFlag { get; set; }
///
/// 创建者
///
public string CreateBy { get; set; }
///
/// 创建时间
///
public DateTime? CreateTime { get; set; }
///
/// 更新者
///
public string UpdateBy { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
}
}