71 lines
1.9 KiB
C#
71 lines
1.9 KiB
C#
using Dlhis.Entity.Visitor.Enums;
|
|
using Kurisu.AspNetCore.DataAccess.SqlSugar;
|
|
using SqlSugar;
|
|
using SqlSugar.DbConvert;
|
|
|
|
namespace Dlhis.Entity.Visitor.Entity;
|
|
|
|
/// <summary>
|
|
/// 预约明细
|
|
/// </summary>
|
|
[SugarTable(TableName = "VisitorAppointmentDetail", TableDescription = "访客预约")]
|
|
public class VisitorAppointmentDetailEntity : SugarBaseEntity
|
|
{
|
|
/// <summary>
|
|
/// 流水号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "流水号")]
|
|
public string No { get; set; }
|
|
|
|
/// <summary>
|
|
/// no
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "用户No")]
|
|
public string UserNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 证件类型
|
|
/// </summary>
|
|
public string IdType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 证件号
|
|
/// </summary>
|
|
public string IdNo { get; set; }
|
|
|
|
/// <summary>
|
|
/// 访客名称
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "访客名称")]
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// 手机号
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "手机号")]
|
|
public string Phone { get; set; }
|
|
|
|
/// <summary>
|
|
/// 车牌
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "车牌")]
|
|
public string LicensePlate { get; set; }
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
[SugarColumn(IsNullable = false, ColumnDescription = "状态", ColumnDataType = "varchar(50)", SqlParameterDbType = typeof(EnumToStringConvert))]
|
|
public AppointmentDetailEnumType Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 备注
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "备注")]
|
|
public string Remark { get; set; }
|
|
|
|
/// <summary>
|
|
/// 社保照片url
|
|
/// </summary>
|
|
[SugarColumn(ColumnDescription = "社保照片url")]
|
|
public string ImageUrl { get; set; }
|
|
} |