using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataTransmission.Enum;
using SnapshotWinFormsApp.Repository.Enum;
using SqlSugar;
namespace SnapshotWinFormsApp.Entities.NewHotline
{
[SugarTable("citizen")]
[Description("市民")]
public class Citizen : FullStateEntity
{
///
/// 电话
///
[SugarColumn(ColumnDescription = "电话")]
public string PhoneNumber { get; set; }
///
/// 姓名
///
[SugarColumn(ColumnDescription = "姓名")]
public string? Name { get; set; }
///
/// 性别
///
[SugarColumn(ColumnDescription = "性别")]
public EGender? Gender { get; set; }
///
/// 市民身份
///
[SugarColumn(ColumnDescription = "市民身份")]
public EIdentityType? IdentityType { get; set; }
///
/// 证件类型
///
[SugarColumn(ColumnDescription = "证件类型")]
public string? LicenceType { get; set; }
///
/// 证件号码
///
[SugarColumn(ColumnDescription = "证件号码")]
public string? LicenceNo { get; set; }
///
/// 年龄段
///
[SugarColumn(ColumnDescription = "年龄段")]
public string? AgeRange { get; set; }
///
/// 联系电话
///
[SugarColumn(ColumnDescription = "联系电话")]
public string? Contact { get; set; }
[SugarColumn(ColumnDescription = "联系电话脱敏")]
public string? ContactMask { get; set; }
///
/// 市民标签
///
[SugarColumn(ColumnDescription = "市民标签", ColumnDataType = "text")]
public string? Label { get; set; }
///
/// 更新人
///
[SugarColumn(ColumnDescription = "更新人")]
public string? LastModificationName { get; set; }
///
/// 首次来电时间
///
[SugarColumn(ColumnDescription = "首次来电时间")]
public DateTime? FirstCallTime { get; set; }
#region 随手拍
///
/// 用户自己填的邀请码
///
[SugarColumn(ColumnDescription = "用户自己填的邀请码")]
public string? InvitationCode { get; set; }
///
/// 历史已经领取金额总和(单位:元)
///
[SugarColumn(ColumnDescription = "历史已经领取金额总和(单位:元)")]
public double? TotalAmount { get; set; }
///
/// 用户类型
/// 注册时根据手机号码判断是否是 网格员
///
[SugarColumn(ColumnDescription = "用户类型")]
public EReadPackUserType? CitizenType { get; set; }
///
/// 是否安全卫士
///
[SugarColumn(ColumnDescription = "是否安全卫士")]
public bool? IsSecurityMax { get; set; }
#endregion
}
}