using Google.Protobuf; using Google.Protobuf.WellKnownTypes; using Microsoft.Extensions.Primitives; using Newtonsoft.Json; using OASystem.Domain.Dtos; using OASystem.Domain.Entities.Groups; using OASystem.Domain.ViewModels.QiYeWeChat; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Text.Json.Serialization; using System.Threading.Tasks; using JsonConverter = System.Text.Json.Serialization.JsonConverter; namespace OASystem.Domain.ViewModels.Groups { /// /// 接团信息 /// 返回视图 /// public class DelegationInfoView : Grp_DelegationInfo { } /// /// 接团信息详情 共享 Web /// 返回视图 /// public class Web_ShareGroupInfoView { /// /// 主键Id /// public int Id { get; set; } /// /// 团名 /// public string? TeamName { get; set; } /// /// 团号 /// public string? TourCode { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 出访国家 /// public string? VisitCountry { get; set; } /// /// 出团开始日期 /// public DateTime VisitStartDate { get; set; } /// /// 出团结束日期 /// public DateTime VisitEndDate { get; set; } /// /// 出行天数 /// public int VisitDays { get; set; } /// /// 出行人数 /// public int VisitPNumber { get; set; } } /// /// 查询团组简略详情列表 /// Page 根据Ctable And User 返回可操作的团 View /// public class GroupListByCTableAndUserIdView { public int Row_Number { get; set; } public int Id { get; set; } /// /// 团组名 /// public string? TeamName { get; set; } /// /// 团组Code /// public string? TourCode { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 出访时间 /// public string? VisitCountry { get; set; } /// /// 出访开始日期 /// public string? VisitStartDate { get; set; } /// /// 出访结束日期 /// public string? VisitEndDate { get; set; } /// /// 出访天数 /// public int VisitDays { get; set; } /// /// 出访人数 /// public int VisitPNumber { get; set; } } /// /// 接团信息详情 共享 Web /// 返回视图 /// public class IOSOrAndroid_ShareGroupInfoView { /// /// 主键Id /// public int Id { get; set; } /// /// 团号 /// public string? TourCode { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 出访国家 /// public string? VisitCountry { get; set; } /// /// 出团开始日期 /// public DateTime VisitStartDate { get; set; } /// /// 出团结束日期 /// public DateTime VisitEndDate { get; set; } /// /// 出行天数 /// public int VisitDays { get; set; } /// /// 出行人数 /// public int VisitPNumber { get; set; } /// /// 团名 /// public string? TeamName { get; set; } } /// /// 接团信息详情 共享 /// 返回视图 /// public class ShareGroupInfoIIView { /// /// 主键Id /// public int Id { get; set; } /// /// 团组名称 /// public string? teamName { get; set; } /// /// 团号 /// public string? TourCode { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 出访国家 /// public string? VisitCountry { get; set; } /// /// 出团起止日期 /// public string? VisitDate { get; set; } /// /// 出行天数 /// public int VisitDays { get; set; } /// /// 出行人数 /// public int VisitPNumber { get; set; } } /// /// 接团信息详情 /// 返回视图 /// public class DelegationInfoWebView { /// /// 主键Id /// public int Id { get; set; } /// /// 销售报价号 /// public string? SalesQuoteNo { get; set; } /// /// 团号 /// public string? TourCode { get; set; } /// /// 接团人ID /// public int JietuanOperator { get; set; } /// /// 团组等级 /// public int TeamLevSId { get; set; } /// /// 团组类型 /// public int TeamDid { get; set; } /// /// 团组名称 /// public string? TeamName { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 客户所属公司 /// public string? ClientUnit { get; set; } /// /// 出访国家 /// public string? VisitCountry { get; set; } /// /// 出团日期 /// public DateTime VisitDate { get; set; } /// /// 出行天数 /// public int VisitDays { get; set; } /// /// 出行人数 /// public int VisitPNumber { get; set; } /// /// 合同时间 /// public DateTime? 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? Remark { get; set; } /// /// 手机号 /// public string? TellPhone { get; set; } /// /// 微信号 /// public string WeChatNo { get; set; } /// /// op提成等级 /// public int OpRoyaltyLv { get; set; } /// /// 提成等级说明 /// public string? OpRoyaltyRemark { get; set; } /// /// 公务需求 /// public string Officialneeds { get; set; } } /// /// 接团信息列表 /// 返回视图 /// public class DelegationListView { /// /// 主键Id /// 团组Id /// public int Id { get; set; } /// /// 销售报价号 /// public string? SalesQuoteNo { get; set; } /// /// 客户所属部门 /// public string Department { get; set; } /// /// 团号 /// public string? TourCode { get; set; } /// /// 接团操作人Id /// public int JietuanOperatorId { get; set; } /// /// 接团操作人 /// public string? JietuanOperator { get; set; } /// /// 团组等级Id /// public int TeamLevId { get; set; } /// /// 团组等级 /// public string? TeamLev { get; set; } /// /// 团组名称 /// public string TeamName { get; set; } /// /// 客户名称 /// public string? ClientName { get; set; } /// /// 客户所属公司 /// public string? ClientUnit { get; set; } /// /// 团组类型Id /// public int TeamTypeId { get; set; } /// /// 团组类型 /// public string? TeamType { get; set; } /// /// 出团日期 /// public DateTime VisitDate { get; set; } public string VisitDateStr { get { return VisitDate.ToString("yyyy-MM-dd"); } } /// /// 出行天数 /// public int VisitDays { get; set; } /// /// 出行人数 /// public int VisitPNumber { get; set; } /// /// 是否用于投标 /// 0 否 1 是 /// public int IsBid { get; set; } /// /// 是否操作完成 /// 0否1是 /// public int IsSure { get; set; } /// /// 流程管控Id /// public int GrpScheduleId { get; set; } = 0; public DateTime CreateTime { get; set; } public string GroupFirst { get; set; } public string CreateUserName { get; set; } } /// /// 团组信息 Page List /// public class DelegationPageListView : DelegationListView { /// /// 行号 /// public int RowNumber { get; set; } } /// /// 团组信息 Page List /// public class DelegationPageCountView { /// /// 行号 /// public int Count { get; set; } } /// /// 团组编号 /// public class TeamCodeView { public string TourCode { get; set; } } /// /// 销售编号 /// public class SalesQuoteNoView { public string SalesQuoteNo { get; set; } } /// /// 团组名称 /// 返回视图 /// public class GroupNameView { /// /// 团组Id /// public int Id { get; set; } /// /// 团组名称 /// public string GroupName { get; set; } } public class GroupNamePageView : GroupNameView { public int RowNumber { get; set; } } /// /// 根据团组ID 查询客户 /// public class CrmByGroupIdView { /// /// 团组Id /// public int GrpId { get; set; } /// /// 客户名称 /// public string clientName { get; set; } /// /// 客户手机号 /// public string Tel { get; set; } /// /// 客户身份证号码 /// public string CerdNo { get; set; } } public class MateOpGroupPageListView : DelegationListView { public int Row_Number { get; set; } public string VisitCountry { get; set; } public string RouteCity { get; set; } } }