using Admin.NET.Core;
namespace Admin.NET.Application.Entity;
///
/// 员工
///
[SugarTable("employee","员工")]
public class Employee : EntityBase
{
///
/// 名字
///
[SugarColumn(ColumnName = "Name", ColumnDescription = "名字", Length = 32)]
public string? Name { get; set; }
///
/// 职务
///
[SugarColumn(ColumnName = "Job", ColumnDescription = "职务", Length = 32)]
public string? Job { get; set; }
///
/// 性别
///
[SugarColumn(ColumnName = "Sex", ColumnDescription = "性别", Length = 32)]
public string? Sex { get; set; }
///
/// 联系方式
///
[SugarColumn(ColumnName = "Tel", ColumnDescription = "联系方式", Length = 32)]
public string? Tel { get; set; }
///
/// 邮箱
///
[SugarColumn(ColumnName = "Email", ColumnDescription = "邮箱", Length = 32)]
public string? Email { get; set; }
///
/// 地址
///
[SugarColumn(ColumnName = "Address", ColumnDescription = "地址", Length = 64)]
public string? Address { get; set; }
///
/// 年龄
///
[SugarColumn(ColumnName = "Age", ColumnDescription = "年龄")]
public int? Age { get; set; }
///
/// 身份证号
///
[SugarColumn(ColumnName = "IDNumber", ColumnDescription = "身份证号", Length = 32)]
public string? IDNumber { get; set; }
///
/// 部门ID
///
[SugarColumn(ColumnName = "DepartmentId", ColumnDescription = "部门ID")]
public long? DepartmentId { get; set; }
///
/// 备注
///
[SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 32)]
public string? Remarks { get; set; }
///
/// 入职日期
///
[SugarColumn(ColumnName = "DateOnBoard", ColumnDescription = "入职日期")]
public DateTime? DateOnBoard { get; set; }
}