97 lines
2.6 KiB
C#
97 lines
2.6 KiB
C#
|
|
using System;
|
|||
|
|
using Newtonsoft.Json;
|
|||
|
|
|
|||
|
|
namespace ServiceClient.Response.User
|
|||
|
|
{
|
|||
|
|
public class VisterItem
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 邀请人姓名
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("username")]
|
|||
|
|
public string UserName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 访客姓名
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("visitorname")]
|
|||
|
|
public string VisitorName { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 访客电话
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("visitorphone")]
|
|||
|
|
public string VisitorPhone { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 20 前台登记 10 用户邀请 30 人脸访问 40员工端邀请
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("visitortype")]
|
|||
|
|
public int VisitorType { get; set; }
|
|||
|
|
|
|||
|
|
[JsonProperty("openid")] public string OpenId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 来访日期
|
|||
|
|
/// </summary>
|
|||
|
|
[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; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 邀请函模板类型
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("templatetype")]
|
|||
|
|
public int TemplateType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 10:申请中 20:申请通过 30: 黑名单用户 40:申请作废
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("stats")]
|
|||
|
|
public int Stats { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 访客接受时间
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("accepttime")]
|
|||
|
|
public DateTime AcceptTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 备注
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("bak")]
|
|||
|
|
public string Bak { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 微信头像
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("wxImgUrl")]
|
|||
|
|
public string WxImgUrl { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 人脸地址
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("faceUrl")]
|
|||
|
|
public string FaceUrl { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 访客人员ID
|
|||
|
|
/// </summary>
|
|||
|
|
[JsonProperty("userId")]
|
|||
|
|
public System.Int32? UserId { get; set; } = 0;
|
|||
|
|
|
|||
|
|
[JsonProperty("ID")]
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|