using OASystem.Domain.Attributes; using OASystem.Domain.Entities.Customer; using System.Text.Json.Serialization; namespace OASystem.Domain.ViewModels.CRM { /// /// 签证客户信息 View /// public class VisaDeleClientView : Crm_DeleClient { } /// /// 签证客户信息 ListView /// public class VisaDeleClientListView { /// /// Id /// public int Id { get; set; } /// /// 客户姓名 /// public string ClientName { get { return this.LastName + this.FirstName; } } [Encrypted] public string LastName { get; set; } [Encrypted] public string FirstName { get; set; } /// /// 所属公司(全称) /// [Encrypted] public string CompanyFullName { get; set; } /// /// 性别 0 男 1 女 /// public int Sex { get; set; } /// /// 婚姻状态 /// 0、1、2、3、4 (未设置、未婚、已婚、离异、丧偶) /// public int Marriage { get; set; } /// /// 客户座机 /// [Encrypted] public string LandlinePhone { get; set; } /// /// 客户手机号 /// [Encrypted] public string Tel { get; set; } /// /// 身份证号码 /// [Encrypted] public string IDNo { get; set; } /// /// 护照号码 /// [Encrypted] public string PassportNo { get; set; } } public class ClientByGroupIdView { /// /// clientId /// public int Id { get; set; } /// /// 姓 /// public string LastName { get; set; } /// /// 名称 /// public string FirstName { get; set; } /// /// 手机号 /// public string Tel { get; set; } /// /// 身份证No /// public string IdNo { get; set; } } #region 签证客户资料 New #region 新西兰、澳大利亚签证申请资料表 public class VisaApplication { /// /// 其他国家访问记录 /// [JsonPropertyName("其他国家")] public string OtherCountries { get; set; } /// /// 申请人个人信息 /// [JsonPropertyName("申请人个人信息")] public ApplicantInfo ApplicantInfo { get; set; } /// /// 新西兰澳大利亚访问记录 /// [JsonPropertyName("新西兰澳大利亚访问记录")] public VisitHistory VisitHistory { get; set; } /// /// 拒签记录 /// [JsonPropertyName("拒签记录")] public List RejectionRecords { get; set; } /// /// 教育经历 /// [JsonPropertyName("教育经历")] public List EducationExperiences { get; set; } /// /// 工作经历 /// [JsonPropertyName("工作经历")] public List WorkExperiences { get; set; } /// /// 服兵役历史 /// [JsonPropertyName("服兵役历史")] public List MilitaryServices { get; set; } /// /// 本人声明 /// [JsonPropertyName("本人声明")] public string Declaration { get; set; } } /// /// 申请人个人信息 /// public class ApplicantInfo { /// /// 姓名 /// [JsonPropertyName("姓名")] public string Name { get; set; } /// /// 曾用名 /// [JsonPropertyName("曾用名")] public string FormerName { get; set; } /// /// 婚姻状况 /// [JsonPropertyName("婚姻状况")] public string MaritalStatus { get; set; } /// /// 出生地 /// [JsonPropertyName("出生地")] public string BirthPlace { get; set; } /// /// 出生日期 /// [JsonPropertyName("出生日期")] public string BirthDate { get; set; } /// /// 性别 /// [JsonPropertyName("性别")] public string Gender { get; set; } /// /// 手机 /// [JsonPropertyName("手机")] public string Mobile { get; set; } /// /// 现在住址 /// [JsonPropertyName("现在住址")] public string CurrentAddress { get; set; } /// /// 在职人员信息 /// [JsonPropertyName("在职人员信息")] public EmploymentInfo EmploymentInfo { get; set; } /// /// 关系信息 /// [JsonPropertyName("关系信息")] public List RelationInfos { get; set; } } /// /// 在职人员信息 /// public class EmploymentInfo { /// /// 现单位名称 /// [JsonPropertyName("现单位名称")] public string CurrentCompanyName { get; set; } /// /// 现单位地址 /// [JsonPropertyName("现单位地址")] public string CurrentCompanyAddress { get; set; } /// /// 单位电话 /// [JsonPropertyName("单位电话")] public string CompanyPhone { get; set; } /// /// 目前职位 /// [JsonPropertyName("目前职位")] public string CurrentPosition { get; set; } /// /// 月收入 /// [JsonPropertyName("月收入")] public string MonthlyIncome { get; set; } } /// /// 关系信息 /// public class RelationInfo { /// /// 关系 /// /// 关系 /// [JsonPropertyName("关系")] public string Relation { get; set; } /// /// 姓名 /// [JsonPropertyName("姓名")] public string Name { get; set; } /// /// 出生日期 /// [JsonPropertyName("出生日期")] public string BirthDate { get; set; } /// /// 地址 /// [JsonPropertyName("地址")] public string Address { get; set; } /// /// 联系方式 /// [JsonPropertyName("联系方式")] public string ContactNumber { get; set; } } /// /// 新西兰澳大利亚访问记录 /// public class VisitHistory { /// /// 第一次访问记录 /// [JsonPropertyName("第一次")] public Visit FirstVisit { get; set; } /// /// 第二次访问记录 /// [JsonPropertyName("第二次")] public Visit SecondVisit { get; set; } /// /// 第三次访问记录 /// [JsonPropertyName("第三次")] public Visit ThirdVisit { get; set; } } /// /// 访问记录 /// public class Visit { /// /// 抵达日期 /// [JsonPropertyName("抵达日期")] public string ArrivalDate { get; set; } /// /// 离开日期 /// [JsonPropertyName("离开日期")] public string DepartureDate { get; set; } } /// /// 拒签记录 /// public class RejectionRecord { /// /// 国家 /// [JsonPropertyName("国家")] public string Country { get; set; } /// /// 申请日期地点 /// [JsonPropertyName("申请日期地点")] public string ApplicationDateLocation { get; set; } /// /// 申请签证类别 /// [JsonPropertyName("申请签证类别")] public string VisaCategory { get; set; } /// /// 拒签原因 /// [JsonPropertyName("拒签原因")] public string RejectionReason { get; set; } } /// /// 教育经历 /// public class EducationExperience { /// /// 院校名称 /// [JsonPropertyName("院校名称")] public string SchoolName { get; set; } /// /// 入学时间 /// [JsonPropertyName("入学时间")] public string EnrollmentDate { get; set; } /// /// 毕业时间 /// [JsonPropertyName("毕业时间")] public string GraduationDate { get; set; } /// /// 课程专业名称 /// [JsonPropertyName("课程专业名称")] public string CourseName { get; set; } } /// /// 工作经历 /// public class WorkExperience { /// /// 单位名称 /// [JsonPropertyName("单位名称")] public string CompanyName { get; set; } /// /// 开始时间 /// [JsonPropertyName("开始时间")] public string StartDate { get; set; } /// /// 结束时间 /// [JsonPropertyName("结束时间")] public string EndDate { get; set; } /// /// 单位所在地 /// [JsonPropertyName("单位所在地")] public string CompanyLocation { get; set; } /// /// 职务 /// [JsonPropertyName("职务")] public string Position { get; set; } } /// /// 服兵役历史 /// public class MilitaryService { /// /// 军衔 /// [JsonPropertyName("军衔")] public string Rank { get; set; } /// /// 所属部队 /// [JsonPropertyName("所属部队")] public string Unit { get; set; } /// /// 军种 /// [JsonPropertyName("军种")] public string Branch { get; set; } /// /// 服役时间 /// [JsonPropertyName("服役时间")] public string ServiceDate { get; set; } } #endregion #endregion }