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