using Newtonsoft.Json; using OASystem.Domain.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Dtos.Groups { /// /// 接团客户名单 /// public class TourClientListDto { } /// /// 接团客户名单 /// 根据团组Id查询List /// public class TourClientListByDiIdDto : UserPageFuncDtoBase { public int DiId { get; set; } } /// /// 接团客户名单 /// 基础数据 Dto /// public class TourClientListBasicDataInitDto : UserPageFuncDtoBase { } /// /// 接团客户名单 /// 根据Id 查询 Details /// public class TourClientListDetailsDto : UserPageFuncDtoBase { public int Id { get; set; } } /// /// 接团客户名单 /// Add Or Edit /// public class TourClientListAddOrEditDto : UserPageFuncDtoBase { /// /// 数据Id /// Id == 0 Add /// Id >= 1 Update /// public int Id { get; set; } /// /// 团组Id /// public int DiId { get; set; } /// /// 是否陪同 /// 1 否 2 是 /// public int IsAccompany { get; set; } = 1; /// /// 姓 /// [Encrypted] public string? LastName { get; set; } /// /// 名 /// [Encrypted] public string? FirstName { get; set; } /// /// 姓名拼音 /// 姓/名 eg: LEI/YI /// [Encrypted] public string? Pinyin { get; set; } /// /// 性别 /// 0 男1 女 -1 未设置 /// public int Sex { get; set; } /// /// 手机号 /// [Encrypted] public string? Phone { get; set; } /// /// 公司名全称 /// [Encrypted] public string? CompanyFullName { get; set; } /// /// 职位 /// [Encrypted] public string? Job { get; set; } /// /// 身份证No /// [Encrypted] public string? IDCardNo { get; set; } /// /// 生日 /// public string? BirthDay { get; set; } /// /// 舱位类型(数据类型表Id) /// public int ShippingSpaceTypeId { get; set; } /// /// 舱位特殊需求 /// public string? ShippingSpaceSpecialNeeds { get; set; } /// /// 酒店特殊需求 /// public string? HotelSpecialNeeds { get; set; } /// /// 餐食特殊需求 /// public string? MealSpecialNeeds { get; set; } /// /// 备注 /// public string? Remark { get; set; } } /// /// json字符串 AddMultiple(添加多个) /// public class PostTourClientListJsonFormatAddMultipleDto : UserPageFuncDtoBase { /// /// 团组Id /// public int DiId { get; set; } /// /// json字符串 /// public string JsonLabel { get; set; } } /// /// 接团客户名单 /// AddMultiple /// public class TourClientListAddMultipleDto : UserPageFuncDtoBase { /// /// 团组Id /// public int DiId { get; set; } /// /// 接团客户名单 /// AddMultiple Infos /// public List? TourClientListInfos { get; set; } } /// /// 接团客户名单 /// AddMultiple Info /// public class TourClientListInfoCN { /// /// 姓 /// [JsonProperty("姓名")] [Encrypted] public string? Name { get; set; } /// /// 性别 /// 0 男1 女 其他值 未设置 /// [JsonProperty("性别")] public string Sex { get; set; } /// /// 公司名全称 /// [JsonProperty("单位")] [Encrypted] public string? CompanyFullName { get; set; } /// /// 职位 /// [JsonProperty("职务")] [Encrypted] public string? Job { get; set; } /// /// 生日 /// [JsonProperty("出生日期")] public string? BirthDay { get; set; } } /// /// 接团客户名单 /// AddMultiple Info /// public class TourClientListInfo { /// /// 是否陪同 /// 1 否 2 是 /// public int IsAccompany { get; set; } = 1; /// /// 姓 /// [Encrypted] public string? LastName { get; set; } /// /// 名 /// [Encrypted] public string? FirstName { get; set; } /// /// 拼音 /// [Encrypted] public string Pinyin { get; set; } /// /// 性别 /// 0 男1 女 其他值 未设置 /// public int Sex { get; set; } /// /// 公司名全称 /// [Encrypted] public string? CompanyFullName { get; set; } /// /// 职位 /// [Encrypted] public string? Job { get; set; } /// /// 身份证No /// [Encrypted] public string? IDCardNo { get; set; } /// /// 手机号 /// [Encrypted] public string? Phone { get; set; } /// /// 生日 /// public string? BirthDay { get; set; } /// /// 舱位类型(数据类型表Id) /// public int ShippingSpaceTypeId { get; set; } /// /// 舱位特殊需求 /// public string? ShippingSpaceSpecialNeeds { get; set; } /// /// 酒店特殊需求 /// public string? HotelSpecialNeeds { get; set; } /// /// 餐食特殊需求 /// public string? MealSpecialNeeds { get; set; } /// /// 备注 /// public string? Remark { get; set; } } public class TourClientListProcessInfo : TourClientListInfo { public int Id { get; set; } } // /// 接团客户名单 /// AddMultiple Info /// public class TourClientListInfo1 { /// /// 姓 /// public string LastName { get; set; } /// /// 名 /// public string Name { get; set; } /// /// 性别 /// public string Sex { get; set; } /// /// 生日 /// public string Birthday { get; set; } /// /// 身份证 /// public string IDcard { get; set; } /// /// 单位 /// public string Company { get; set; } /// /// 职位 /// public string Job { get; set; } /// /// 手机号 /// public string Phone { get; set; } /// /// 仓位类型 /// public int Berth { get; set; } = 460; /// /// 仓位备注 /// public string BerthNotes { get; set; } /// /// 房间备注 /// public string RoomNotes { get; set; } /// /// 餐食备注 /// public string MealNotes { get; set; } /// /// 备注 /// public string Remark { get; set; } } /// /// 接团客户名单 /// Del /// public class TourClientListDelDto : UserPageFuncDtoBase { /// /// 数据Id /// Id>=0 Del /// Id<0 无效 /// public int Id { get; set; } } /// /// 接团客户名单 /// 客户名单下载 /// public class PostTourClientListDownloadFile: UserPageFuncDtoBase { public int DiId { get; set; } /// /// 语言 0:中文,1:英文 /// public int Language { get; set; } = 0; } public class ClientInfo { [Encrypted] public string LastName { get; set; } [Encrypted] public string FirstName { get; set; } public string Name { get{ return this.LastName + this.FirstName ; } } public int Sex { get; set; } public DateTime ?Birthday { get; set; } [Encrypted] public string Company { get; set; } [Encrypted] public string Job { get; set; } } public class ClientInfoInfo_Group : ClientInfo { public int DiId { get; set; } public DateTime CreateTime { get; set; } } public class ClientAirInfo: ClientInfo { public int AirType { get; set; } } }