feat 手动上传,手动设置时间范围
This commit is contained in:
@@ -29,146 +29,146 @@ public class GainfoEntity : SugarBaseEntity
|
||||
/// 人员类型
|
||||
/// </summary>
|
||||
[AdaptIgnore(MemberSide.Destination)]
|
||||
[SugarColumn(ColumnDescription = "人员类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "人员类型", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public GainfoUserTypeEnumType Type { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人员来源
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人员来源", IsNullable = true)]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "人员来源")]
|
||||
public string Source { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 姓名
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "姓名")]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "姓名")]
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学工号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "学工号", UniqueGroupNameList = new[] { "idx_Gainfo_Code" })]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "学工号", UniqueGroupNameList = new[] { "idx_Gainfo_Code" })]
|
||||
public string Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 国家代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "国家代码")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "国家代码")]
|
||||
public string CountryNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 证件类型代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "证件类型代码")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "证件类型代码")]
|
||||
public string IdClass { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份证号", UniqueGroupNameList = new[] { "idx_Gainfo_IdNo" })]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "身份证号", UniqueGroupNameList = new[] { "idx_Gainfo_IdNo" })]
|
||||
public string IdNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证籍贯区域代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份证籍贯区域代码")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "身份证籍贯区域代码")]
|
||||
public string Native { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 性别
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "性别", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "性别", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public GenderEnumType Gender { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 生日
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "生日")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "生日")]
|
||||
public DateTime Birthday { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 身份证地址
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份证地址")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "身份证地址")]
|
||||
public string Address { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 部门编码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "部门编码")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "部门编码")]
|
||||
public string DepartmentNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 民族代码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "民族代码")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "民族代码")]
|
||||
public string Nation { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 手机号码
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "手机号码")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "手机号码")]
|
||||
public string Phone { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 学历
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "学历")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "学历")]
|
||||
public string Degree { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 岗位
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "岗位")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "岗位")]
|
||||
public string PositionNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 职等
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "职等")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "职等")]
|
||||
public string Grade { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 职级
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "职级")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "职级")]
|
||||
public string Title { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡号
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "卡号", IndexGroupNameList = new[] { "idx_Gainfo_CardNo" })]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "卡号", IndexGroupNameList = new[] { "idx_Gainfo_CardNo" })]
|
||||
public string CardNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 人事范围
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "人事范围")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "人事范围")]
|
||||
public string Werks { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 工作地
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "工作地")]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "工作地")]
|
||||
public string Workplace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 厂区
|
||||
/// </summary>
|
||||
[TenantId]
|
||||
[SugarColumn(ColumnDescription = "厂区")]
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "厂区")]
|
||||
public string Factory { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 成本中心
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "成本中心")]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "成本中心")]
|
||||
public string CostId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
@@ -186,13 +186,13 @@ public class GainfoEntity : SugarBaseEntity
|
||||
/// <summary>
|
||||
/// 身份认证用户Id(如果为空匹配code)
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "身份认证用户Id", IsNullable = true)]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "身份认证用户Id")]
|
||||
public int IdentityUserId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 卡类型
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "卡类型", IsNullable = true)]
|
||||
[SugarColumn(IsNullable = true, ColumnDescription = "卡类型")]
|
||||
public int? CardType { get; set; }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user