using Business.Model; using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Bussiness.Model.SystemData { /// /// 员工表 /// [Description("员工表")] public class sys_staff:BaseEntity { ///// ///// 主键id ///// //[Key] //[Description("主键id")] //public long staff_id { get; set; } /// /// 员工编码 /// [StringLength(50)] [Description("员工编码")] public string? staff_no { get; set; } /// /// 用户id /// [Description("用户id")] public long? user_id { get; set; } /// /// 用户名称 /// [StringLength(255)] [Description("用户名称")] public string? user_name { get; set; } /// /// 中文名 /// [StringLength(255)] [Description("中文名")] public string? chinese_name { get; set; } /// /// 电话 /// [StringLength(80)] [Description("电话")] public string? phone { get; set; } /// /// 照片 /// [StringLength(255)] [Description("照片")] public string? photo { get; set; } /// /// 组织名称 /// [StringLength(255)] [Description("组织名称")] public string? org_name { get; set; } /// /// 生日 /// [Description("生日")] public DateOnly? birthday { get; set; } /// /// 邮箱 /// [StringLength(255)] [Description("邮箱")] public string? email { get; set; } /// /// 性别 1 男 2 女 /// [StringLength(1)] [Description("性别 1 男 2 女")] public string? sex { get; set; } /// /// 卡号 /// [StringLength(50)] [Description("卡号")] public string? card_no { get; set; } /// /// 工号 /// [StringLength(50)] [Description("工号")] public string? emp_no { get; set; } /// /// 身份证号 /// [StringLength(50)] [Description("身份证号")] public string? id_no { get; set; } /// /// 移动电话 /// [StringLength(50)] [Description("移动电话")] public string? mobile { get; set; } /// /// 政治面貌 /// [StringLength(50)] [Description("政治面貌")] public string? politics { get; set; } /// /// 备注 /// [StringLength(255)] [Description("备注")] public string? staff_remark { get; set; } /// /// 部门id /// [Description("部门id")] public long? dept_id { get; set; } /// /// 部门编号 /// [StringLength(50)] [Description("部门编号")] public string? dept_no { get; set; } /// /// 部门名称 /// [StringLength(255)] [Description("部门名称")] public string? dept_name { get; set; } /// /// 数据状态标识 1启用 0停用 /// [StringLength(255)] [Description("数据状态标识 1启用 0停用")] [DefaultValue(true)] public bool state { get; set; } } }