151 lines
3.7 KiB
C#
151 lines
3.7 KiB
C#
using Dlhis.Entity.Basic.Enums;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Basic.Entity;
|
|
|
|
/// <summary>
|
|
/// 用户档案
|
|
/// </summary>
|
|
[SugarTable(TableName = "Gainfo", TableDescription = "档案表")]
|
|
public class GainfoEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 档案号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "档案号")]
|
|
public string No { get; set; }
|
|
|
|
/// <summary>
|
|
/// SAP内部编号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "SAP内部编号")]
|
|
public string SapNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 人员类型
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "人员类型")]
|
|
public string GType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 姓名
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "姓名")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 外文名字
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "外文名字")]
|
|
public string NameEn { get; set; }
|
|
|
|
/// <summary>
|
|
/// 工号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "工号")]
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// 国家代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "国家代码")]
|
|
public string CountryNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 证件类型代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "证件类型代码")]
|
|
public string IdClass { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "身份证号")]
|
|
public string IdNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证籍贯区域代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "身份证籍贯区域代码")]
|
|
public string Native { get; set; }
|
|
|
|
/// <summary>
|
|
/// 性别
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "性别", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public GenderEnumType Gender { get; set; }
|
|
|
|
/// <summary>
|
|
/// 生日
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "生日")]
|
|
public DateTime Birthday { get; set; }
|
|
|
|
/// <summary>
|
|
/// 身份证地址
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "身份证地址")]
|
|
public string Address { get; set; }
|
|
|
|
/// <summary>
|
|
/// 已婚/未婚
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "已婚/未婚")]
|
|
public string Marital { get; set; }
|
|
|
|
/// <summary>
|
|
/// 部门编码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "部门编码")]
|
|
public string DepartmentNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 民族代码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "民族代码")]
|
|
public string Nation { get; set; }
|
|
|
|
/// <summary>
|
|
/// 手机号码
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "手机号码")]
|
|
public string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 学历
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "学历")]
|
|
public string Degree { get; set; }
|
|
|
|
/// <summary>
|
|
/// 岗位
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "岗位")]
|
|
public string Position { get; set; }
|
|
|
|
/// <summary>
|
|
/// 卡号
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "卡号")]
|
|
public string CarNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "备注")]
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 人事范围
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "人事范围")]
|
|
public string Werks { get; set; }
|
|
|
|
/// <summary>
|
|
/// 在职状态
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "在职状态")]
|
|
public string Employed { get; set; }
|
|
}
|