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