using OASystem.Domain.Attributes;
using Org.BouncyCastle.Asn1.Ocsp;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Google.Protobuf.Reflection.SourceCodeInfo.Types;
namespace OASystem.Domain.Entities.Customer
{
///
/// 新客户资料表
///
[SugarTable("Crm_NewClientData")]
public class Crm_NewClientData : EntityBase
{
private int number;
private int lvlid;
private string client;
private string weight;
private string clientshort;
private string contact;
private int gender;
private string passport;
private DateTime? passportDate;
private string job;
private string telephone;
private string phone;
private string email;
private string location;
private string address;
private string birthday;
private string otherinfo;
private string wechat;
private int category;
private int predele;
private int finlishedDele;
///
/// 序号
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int Number { get => number; set => number = value; }
///
/// 地市州Id
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int Lvlid { get => lvlid; set => lvlid = value; }
///
/// 客户单位
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Client { get => client; set => client = value; }
///
/// 权重
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(100)")]
public string Weight { get => weight; set => weight = value; }
///
/// 客户单位简写
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string ClientShort { get => clientshort; set => clientshort = value; }
///
/// 联系人
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Contact { get => contact; set => contact = value; }
///
/// 联系人性别
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int Gender { get => gender; set => gender = value; }
///
/// 护照
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Passport { get => passport; set => passport = value; }
///
/// 护照日期
///
[SugarColumn(IsNullable = true, ColumnDataType = "DateTime")]
public DateTime? PassportDate { get => passportDate; set => passportDate = value; }
///
/// 职位
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Job { get => job; set => job = value; }
///
/// 联系手机号
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Telephone { get => telephone; set => telephone = value; }
///
/// 联系座机号
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Phone { get => phone; set => phone = value; }
///
/// 邮件
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Email { get => email; set => email = value; }
///
/// 所属区域(所在城市)
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string Location { get => location; set => location = value; }
///
/// 地址
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(80)")]
public string Address { get => address; set => address = value; }
///
/// 生日
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "string")]
public string Birthday { get => birthday; set => birthday = value; }
///
/// 其他信息
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
public string OtherInfo { get => otherinfo; set => otherinfo = value; }
///
/// 微信
///
[Encrypted]
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
public string Wechat { get => wechat; set => wechat = value; }
///
/// 分类
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int Category { get => category; set => category = value; }
///
/// 预计出团
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int PreDele { get => predele; set => predele = value; }
///
/// 已出团
///
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
public int FinlishedDele { get => finlishedDele; set => finlishedDele = value; }
}
}