using System;
using Newtonsoft.Json;
namespace ServiceClient.Response.User
{
public class VisterItem
{
///
/// 邀请人姓名
///
[JsonProperty("username")]
public string UserName { get; set; }
///
/// 访客姓名
///
[JsonProperty("visitorname")]
public string VisitorName { get; set; }
///
/// 访客电话
///
[JsonProperty("visitorphone")]
public string VisitorPhone { get; set; }
///
/// 20 前台登记 10 用户邀请 30 人脸访问 40员工端邀请
///
[JsonProperty("visitortype")]
public int VisitorType { get; set; }
[JsonProperty("openid")] public string OpenId { get; set; }
///
/// 来访日期
///
[JsonProperty("entrytime")]
public DateTime EntryTime { get; set; }
[JsonProperty("expirytime")] public DateTime ExpiryTime { get; set; }
[JsonProperty("projectcode")] public int ProjectCode { get; set; }
[JsonProperty("buildcode")] public string BuildCode { get; set; }
[JsonProperty("unit")] public string Unit { get; set; }
[JsonProperty("room")] public string Room { get; set; }
[JsonProperty("reason")] public string Reason { get; set; }
///
/// 邀请函模板类型
///
[JsonProperty("templatetype")]
public int TemplateType { get; set; }
///
/// 10:申请中 20:申请通过 30: 黑名单用户 40:申请作废
///
[JsonProperty("stats")]
public int Stats { get; set; }
///
/// 访客接受时间
///
[JsonProperty("accepttime")]
public DateTime AcceptTime { get; set; }
///
/// 备注
///
[JsonProperty("bak")]
public string Bak { get; set; }
///
/// 微信头像
///
[JsonProperty("wxImgUrl")]
public string WxImgUrl { get; set; }
///
/// 人脸地址
///
[JsonProperty("faceUrl")]
public string FaceUrl { get; set; }
///
/// 访客人员ID
///
[JsonProperty("userId")]
public System.Int32? UserId { get; set; } = 0;
[JsonProperty("ID")]
public int Id { get; set; }
}
}