fix 结构变更
This commit is contained in:
@@ -52,10 +52,46 @@ public class VisitorAppointmentDetailEntity : SugarBaseEntity
|
||||
public string LicensePlate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// 预约门禁区域
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "状态", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public VisitorAppointmentDetailStatusEnumType Status { get; set; }
|
||||
public string ApplyDoorArea { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 访客开始
|
||||
/// </summary>
|
||||
public DateTime DoorStart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 访问结束
|
||||
/// </summary>
|
||||
public DateTime DoorEnd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否进入车间
|
||||
/// </summary>
|
||||
public bool IsEnterWorkplace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 申请车间区域
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "车间区域", IsJson = true, DefaultValue = "[]")]
|
||||
public List<string> ApplyWorkplaceAreas { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间访问开始
|
||||
/// </summary>
|
||||
public DateTime? WorkplaceStart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间访问结束
|
||||
/// </summary>
|
||||
public DateTime? WorkplaceEnd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 社保照片url
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "社保照片url")]
|
||||
public string ImageUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
@@ -63,9 +99,16 @@ public class VisitorAppointmentDetailEntity : SugarBaseEntity
|
||||
[SugarColumn(ColumnDescription = "备注")]
|
||||
public string Remark { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 社保照片url
|
||||
/// 门禁状态
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "社保照片url")]
|
||||
public string ImageUrl { get; set; }
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "门禁状态", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public VisitorAppointmentDetailStatusEnumType DoorStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间状态
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "车间状态", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public VisitorAppointmentDetailStatusEnumType WorkplaceStatus { get; set; }
|
||||
}
|
||||
@@ -37,43 +37,6 @@ public class VisitorAppointmentEntity : SugarBaseEntity
|
||||
/// </summary>
|
||||
public DateTime Date { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 预约门禁区域
|
||||
/// </summary>
|
||||
public string ApplyDoorArea { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 访客开始
|
||||
/// </summary>
|
||||
public DateTime DoorStart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 访问结束
|
||||
/// </summary>
|
||||
public DateTime DoorEnd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 是否进入车间
|
||||
/// </summary>
|
||||
public bool IsEnterWorkplace { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 申请车间区域
|
||||
/// </summary>
|
||||
[SugarColumn(ColumnDescription = "车间区域", IsJson = true, DefaultValue = "[]")]
|
||||
public List<string> ApplyWorkplaceAreas { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间访问开始
|
||||
/// </summary>
|
||||
public DateTime? WorkplaceStart { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 车间访问结束
|
||||
/// </summary>
|
||||
public DateTime? WorkplaceEnd { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 备注
|
||||
/// </summary>
|
||||
@@ -88,10 +51,4 @@ public class VisitorAppointmentEntity : SugarBaseEntity
|
||||
/// 申请事由
|
||||
/// </summary>
|
||||
public string Reason { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态
|
||||
/// </summary>
|
||||
[SugarColumn(IsNullable = false, ColumnDescription = "状态", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
||||
public VisitorAppointmentStatusEnumType Status { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user