using FluentValidation; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Dtos.Groups { /// /// 获取团组列表 请求实体类 /// public class GroupListDto : DtoBase { } /// /// 获取团组列表 Page 请求实体类 /// public class GroupPageListDto : UserPageFuncDtoBase { public int PageIndex { get; set; } = 1; public int PageSize { get; set; } = 10; /// /// 是否操作完成 /// -1 全部 0否 1是 /// public int IsSure { get; set; } /// /// 搜索条件 /// 团组类型/团队名称/客户名称/客户单位/接团操作人 /// public string? SearchCriteria { get; set; } } /// /// 获取团组singe Share 请求实体类 /// public class ShareGroupInfoDto : PortDtoBase { /// /// 团组Id /// public int Id { get; set; } } /// /// 获取团组singe 请求实体类 /// public class GroupInfoDto : DtoBase { /// /// 团组Id /// public int Id { get; set; } } /// /// 团组信息 操作 /// 请求dto /// public class GroupOperationDto : DtoBase { /// /// 操作状态 /// 1 添加 /// 2 修改 /// 3 删除 /// public int Status { get; set; } /// /// 团组Id /// public int Id { get; set; } /// /// 用户Id /// public int UserId { get; set; } /// /// 销售报价号 /// public string SalesQuoteNo { get; set; } ///// ///// 团组号 ///// //public string TeamNo { get; set; } /// /// 团组操作人 /// public int JietuanOperator { get; set; } /// /// 客户级别 /// setData Id /// public int TeamLevSId { get; set; } /// /// 团组类型 /// setData Id /// public int TeamDid { get; set; } /// /// 团组名称 /// public string TeamName { get; set; } /// /// 客户名称 /// public string ClientName { get; set; } /// /// 客户单位 /// public string ClientUnit { get; set; } /// /// 出访国家 /// 多个国家 | 隔开 eg:韩国|日本 /// public string VisitCountry { get; set; } /// /// 出访时间 /// public string VisitDate { get; set; } /// /// 出访天数 /// public int VisitDays { get; set; } /// /// 出访人数 /// public int VisitPNumber { get; set; } /// /// 合同时间 /// public string TontractTime { get; set; } /// /// 是否用于投标 /// 0 是 1 否 /// public int IsBid { get; set; } /// /// 预付期限 /// public int PayDay { get; set; } /// /// 支付款项(预付) /// public decimal PaymentMoney { get; set; } /// /// 出访目的 /// public string VisitPurpose { get; set; } /// /// 特殊需求 /// public string SpecialNeeds { get; set; } /// /// 其他需求 /// public string OtherNeeds { get; set; } /// /// 出国任务审批部门名称 /// public string CGRWSPBMMC { get; set; } /// /// 出国任务审批文号 /// public string CGRWSPWH { get; set; } /// /// 政治审查部门名称 /// public string ZZSCBMMC { get; set; } /// /// 政治审查部门审批文号 /// public string ZZSCSPWH { get; set; } /// /// 手机号 /// public string TellPhone { get; set; } /// /// 微信号 /// public string WeChatNo { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// OP提成等级 /// public int OpRoyaltyLv { get; set; } /// /// 等级说明 /// public string opRoyaltyRemark { get; set; } /// /// 公务需求 /// public string Officialneeds { get; set; } } /// /// 团组信息删除 /// public class GroupDelDto : DtoBase { /// /// 团组Id /// public int Id { get; set; } /// /// 用户Id /// public int UserId { get; set; } } /// /// 团组名称 /// public class GroupNameDto : PortDtoBase { } public class GroupNameScreenDto : DtoBase { public string groupName { get; set; } = ""; public int userId { get; set; } = -1; } #region GroupNameScreenDto 验证 public class GroupNameScreenDtoFoaValidator : AbstractValidator { public GroupNameScreenDtoFoaValidator() { RuleFor(it => it.PortType) .NotNull() .NotEmpty() .InclusiveBetween(1, 3) .WithMessage(MsgTips.Port); } } #endregion /// /// /// public class GroupListByCTableAndUserIdDto : DtoBase { /// /// 业务类型Id /// 酒店预定,机票预定,等等 /// 76 酒店预订 77 行程 79 车/导游地接 /// 80 签证 81 邀请/公务活动 82 团组客户保险 /// 85 机票预订 98 其他款项 751 酒店早餐 /// public int CTable { get; set; } /// /// 用户Id /// public int UserId { get; set; } public string TeamName { get; set; } = ""; } /// /// 确认出团dto /// public class ConfirmationGroupDto : PortDtoBase { /// /// 团组Id /// public int GroupId { get; set; } /// /// 团组信息操作人 /// public int GroupsOperator { get; set; } } /// /// 根据团组ID获取签证人员请 /// 求实体类 /// public class ClientByGroupIdDto : DtoBase { /// /// 团组Id /// public int GroupId { get; set; } } public class GroupListByWhere : DtoBase { /// /// 用户Id /// public int UserId { get; set; } /// /// 页面Id /// public int PageId { get; set; } /// /// 团组类型id /// public int TeamDid { get; set; } /// /// 团组状态 /// public int IsSure { get; set; } /// /// 团组名称 /// public string TeamName { get; set; } /// /// 客户名称 /// public string ClientName { get; set; } /// /// 客户单位 /// public string ClientUnit { get; set; } /// /// 出访时间 /// public string visitDataTime { get; set; } } public class GroupProcessOperationDto : PortDtoBase { /// /// 操作状态 /// 1 添加 /// 2 修改 /// 3 删除 /// public int Status { get; set; } /// /// 团组Id /// public int Id { get; set; } /// /// 用户Id /// public int UserId { get; set; } /// /// 销售报价号 /// public string SalesQuoteNo { get; set; } ///// ///// 团组号 ///// //public string TeamNo { get; set; } /// /// 团组操作人 /// public int JietuanOperator { get; set; } /// /// 客户级别 /// setData Id /// public int TeamLevSId { get; set; } /// /// 团组类型 /// setData Id /// public int TeamDid { get; set; } /// /// 团组名称 /// public string TeamName { get; set; } /// /// 客户名称 /// public string ClientName { get; set; } /// /// 客户单位 /// public string ClientUnit { get; set; } /// /// 出访国家 /// 多个国家 | 隔开 eg:韩国|日本 /// public string VisitCountry { get; set; } /// /// 出访时间 /// public string VisitDate { get; set; } /// /// 出访天数 /// public int VisitDays { get; set; } /// /// 出访人数 /// public int VisitPNumber { get; set; } /// /// 合同时间 /// public string TontractTime { get; set; } /// /// 预付期限 /// public int PayDay { get; set; } /// /// 支付款项(预付) /// public decimal PaymentMoney { get; set; } /// /// 出访目的 /// public string VisitPurpose { get; set; } /// /// 特殊需求 /// public string SpecialNeeds { get; set; } /// /// 其他需求 /// public string OtherNeeds { get; set; } /// /// 出国任务审批部门名称 /// public string CGRWSPBMMC { get; set; } /// /// 出国任务审批文号 /// public string CGRWSPWH { get; set; } /// /// 政治审查部门名称 /// public string ZZSCBMMC { get; set; } /// /// 政治审查部门审批文号 /// public string ZZSCSPWH { get; set; } /// /// 手机号 /// public string TellPhone { get; set; } /// /// 微信号 /// public string WeChatNo { get; set; } /// /// 备注 /// public string Remark { get; set; } /// /// OP提成等级 /// public int OpRoyaltyLv { get; set; } /// /// 等级说明 /// public string opRoyaltyRemark { get; set; } /// /// 公务需求 /// public string Officialneeds { get; set; } /// /// 接团客户名单 /// AddMultiple Infos /// public List TourClientListInfos { get; set; } } }