using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Entities.BasicInfo
{
///
/// 员工信息表
///
[SugarTable("S_Users")]
public class S_Users :EntityBase
{
///
/// 中文名称
///
[SugarColumn(IsNullable = true)]
public string CnName { get; set; }
///
/// 英文名称
///
[SugarColumn(IsNullable = true)]
public string EnName { get; set; }
///
/// 员工工号
///
[SugarColumn(IsNullable = true)]
public string Number { get; set; }
///
/// 公司Id
///
[SugarColumn(IsNullable = true)]
public int CompanyId { get; set; }
///
/// 部门Id
///
[SugarColumn(IsNullable = true)]
public int DepId { get; set; }
///
/// 岗位Id
///
[SugarColumn(IsNullable = true)]
public int JobPostId { get; set; }
///
/// 密码
///
[SugarColumn(IsNullable = true)]
public string Password { get; set; }
///
/// 性别
/// 0 男 1 女 2 未设置
///
[SugarColumn(IsNullable = true)]
public int Sex { get; set; }
///
/// 分机号
///
[SugarColumn(IsNullable = true)]
public string Ext { get; set; }
///
/// 分机号
///
[SugarColumn(IsNullable = true)]
public string Phone { get; set; }
///
/// 紧急联系人
///
[SugarColumn(IsNullable = true)]
public string UrgentPhone { get; set; }
///
/// 邮箱
///
[SugarColumn(IsNullable = true)]
public string Email { get; set; }
///
/// 现居地址
///
[SugarColumn(IsNullable = true)]
public string Address { get; set; }
///
/// 入职时间
///
[SugarColumn(IsNullable = true)]
public DateTime Edate { get; set; }
///
/// 离职时间
///
[SugarColumn(IsNullable = true)]
public DateTime Rdate { get; set; }
///
/// 工龄
///
[SugarColumn(IsNullable = true)]
public int Seniority { get; set; }
///
/// 备注
///
[SugarColumn(IsNullable = true)]
public string Remark { get; set; }
///
/// 是否删除
///
[SugarColumn(IsNullable = true)]
public int IsDel { get; set; }
///
/// 生日
///
[SugarColumn(IsNullable = true)]
public DateTime Birthday { get; set; }
///
/// 身份证
///
[SugarColumn(IsNullable = true)]
public string IDCard { get; set; }
///
/// 开始工作日期
///
[SugarColumn(IsNullable = true)]
public DateTime StartWorkDate { get; set; }
///
/// 毕业学校
///
[SugarColumn(IsNullable = true)]
public string GraduateInstitutions { get; set; }
///
/// 专业
///
[SugarColumn(IsNullable = true)]
public string Professional { get; set; }
///
/// 学历
///
[SugarColumn(IsNullable = true)]
public string Education { get; set; }
///
/// 学历类型
///
[SugarColumn(IsNullable = true)]
public string TheOrAdultEducation { get; set; }
///
/// 婚姻状态
///
[SugarColumn(IsNullable = true)]
public string MaritalStatus { get; set; }
///
/// 家庭地址
///
[SugarColumn(IsNullable = true)]
public string HomeAddress { get; set; }
///
/// 试用期
///
[SugarColumn(IsNullable = true)]
public string UsePeriod { get; set; }
///
/// 工作经历
///
[SugarColumn(IsNullable = true)]
public string WorkExperience { get; set; }
///
/// 证书上传
///
[SugarColumn(IsNullable = true)]
public string Certificate { get; set; }
///
/// 人事审核
/// 0未审核(初始状态) 1 已通过(可用)2已拒绝
///
[SugarColumn(IsNullable = true)]
public int HrAudit { get; set; }
}
}