fix 实体修改
This commit is contained in:
@@ -14,7 +14,7 @@ public class GainfoEntity : SugarBaseEntity
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 档案号
|
/// 档案号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnDescription = "档案号")]
|
[SugarColumn(ColumnDescription = "档案号", UniqueGroupNameList = new[] { "idx_Gainfo_No" })]
|
||||||
public string No { get; set; }
|
public string No { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -44,7 +44,7 @@ public class GainfoEntity : SugarBaseEntity
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 学工号
|
/// 学工号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnDescription = "学工号")]
|
[SugarColumn(ColumnDescription = "学工号", UniqueGroupNameList = new[] { "idx_Gainfo_Code" })]
|
||||||
public string Code { get; set; }
|
public string Code { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -128,7 +128,7 @@ public class GainfoEntity : SugarBaseEntity
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// 卡号
|
/// 卡号
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnDescription = "卡号")]
|
[SugarColumn(ColumnDescription = "卡号", IndexGroupNameList = new[] { "idx_Gainfo_CardNo" })]
|
||||||
public string CardNo { get; set; }
|
public string CardNo { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -149,19 +149,47 @@ public class GainfoEntity : SugarBaseEntity
|
|||||||
public string CostId { get; set; }
|
public string CostId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 身份认证用户Id
|
/// 身份认证用户Id
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[SugarColumn(ColumnDescription = "身份认证用户Id")]
|
[SugarColumn(ColumnDescription = "身份认证用户Id", IndexGroupNameList = new[] { "idx_Gainfo_IdentityUserId" })]
|
||||||
public int IdentityUserId { get; set; }
|
public int IdentityUserId { get; set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
//[SugarTable(TableName = "GainfoLeave", TableDescription = "离职人员档案表")]
|
/// <summary>
|
||||||
//public class GainfoLeaveEntity : GainfoEntity
|
/// 离职人员档案表
|
||||||
//{
|
/// </summary>
|
||||||
|
[SugarTable(TableName = "GainfoLeave", TableDescription = "离职人员档案表")]
|
||||||
|
public class GainfoLeaveEntity : GainfoEntity
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
//}
|
/// <summary>
|
||||||
//[SugarTable(TableName = "GainfoExternal", TableDescription = "外部人员档案表")]
|
/// 外部人员档案表
|
||||||
//public class GainfoExternalEntity : GainfoEntity
|
/// </summary>
|
||||||
//{
|
[SugarTable(TableName = "GainfoExternal", TableDescription = "外部人员档案表")]
|
||||||
|
public class GainfoExternalEntity : GainfoEntity
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 公司
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnDescription = "公司", IsNullable = false)]
|
||||||
|
public string Company { get; set; }
|
||||||
|
|
||||||
//}
|
/// <summary>
|
||||||
|
/// 到达时间
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnDescription = "到达时间")]
|
||||||
|
public DateTime From { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 离开时间
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnDescription = "离开时间")]
|
||||||
|
public DateTime To { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 对接人<see cref="GainfoEntity"/>No
|
||||||
|
/// </summary>
|
||||||
|
[SugarColumn(ColumnDescription = "对接人", IsNullable = false)]
|
||||||
|
public string JinkoNo { get; set; }
|
||||||
|
}
|
||||||
|
|||||||
@@ -23,10 +23,6 @@ public class DeviceTaskEntity : SugarBaseEntity, ITenantId, IVersion
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string UserNo { get; set; }
|
public string UserNo { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// 用户学工号
|
|
||||||
/// </summary>
|
|
||||||
public string UserCode { get; set; }
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 设备唯一号
|
/// 设备唯一号
|
||||||
|
|||||||
Reference in New Issue
Block a user