123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605 |
- 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
- {
- /// <summary>
- /// 接团信息
- /// 返回视图
- /// </summary>
- public class DelegationInfoView : Grp_DelegationInfo { }
- /// <summary>
- /// 接团信息详情 共享 Web
- /// 返回视图
- /// </summary>
- public class Web_ShareGroupInfoView
- {
- /// <summary>
- /// 主键Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团名
- /// </summary>
- public string? TeamName { get; set; }
- /// <summary>
- /// 团号
- /// </summary>
- public string? TourCode { get; set; }
-
- /// <summary>
- /// 客户名称
- /// </summary>
- public string? ClientName { get; set; }
- /// <summary>
- /// 出访国家
- /// </summary>
- public string? VisitCountry { get; set; }
- /// <summary>
- /// 出团开始日期
- /// </summary>
- public DateTime VisitStartDate { get; set; }
- /// <summary>
- /// 出团结束日期
- /// </summary>
- public DateTime VisitEndDate { get; set; }
- /// <summary>
- /// 出行天数
- /// </summary>
- public int VisitDays { get; set; }
- /// <summary>
- /// 出行人数
- /// </summary>
- public int VisitPNumber { get; set; }
- }
- /// <summary>
- /// 查询团组简略详情列表
- /// Page 根据Ctable And User 返回可操作的团 View
- /// </summary>
- public class GroupListByCTableAndUserIdView
- {
- public int Row_Number { get; set; }
- public int Id { get; set; }
-
- /// <summary>
- /// 团组名
- /// </summary>
- public string? TeamName { get; set; }
- /// <summary>
- /// 团组Code
- /// </summary>
- public string? TourCode { get; set; }
- /// <summary>
- /// 客户名称
- /// </summary>
- public string? ClientName { get; set; }
- /// <summary>
- /// 出访时间
- /// </summary>
- public string? VisitCountry { get; set; }
- /// <summary>
- /// 出访开始日期
- /// </summary>
- public string? VisitStartDate { get; set; }
- /// <summary>
- /// 出访结束日期
- /// </summary>
- public string? VisitEndDate { get; set; }
-
- /// <summary>
- /// 出访天数
- /// </summary>
- public int VisitDays { get; set; }
- /// <summary>
- /// 出访人数
- /// </summary>
- public int VisitPNumber { get; set; }
- }
- /// <summary>
- /// 接团信息详情 共享 Web
- /// 返回视图
- /// </summary>
- public class IOSOrAndroid_ShareGroupInfoView
- {
- /// <summary>
- /// 主键Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团号
- /// </summary>
- public string? TourCode { get; set; }
- /// <summary>
- /// 客户名称
- /// </summary>
- public string? ClientName { get; set; }
- /// <summary>
- /// 出访国家
- /// </summary>
- public string? VisitCountry { get; set; }
- /// <summary>
- /// 出团开始日期
- /// </summary>
- public DateTime VisitStartDate { get; set; }
- /// <summary>
- /// 出团结束日期
- /// </summary>
- public DateTime VisitEndDate { get; set; }
- /// <summary>
- /// 出行天数
- /// </summary>
- public int VisitDays { get; set; }
- /// <summary>
- /// 出行人数
- /// </summary>
- public int VisitPNumber { get; set; }
- /// <summary>
- /// 团名
- /// </summary>
- public string? TeamName { get; set; }
- }
- /// <summary>
- /// 接团信息详情 共享
- /// 返回视图
- /// </summary>
- public class ShareGroupInfoIIView
- {
- /// <summary>
- /// 主键Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团组名称
- /// </summary>
- public string? teamName { get; set; }
- /// <summary>
- /// 团号
- /// </summary>
- public string? TourCode { get; set; }
- /// <summary>
- /// 客户名称
- /// </summary>
- public string? ClientName { get; set; }
- /// <summary>
- /// 出访国家
- /// </summary>
- public string? VisitCountry { get; set; }
- /// <summary>
- /// 出团起止日期
- /// </summary>
- public string? VisitDate { get; set; }
- /// <summary>
- /// 出行天数
- /// </summary>
- public int VisitDays { get; set; }
- /// <summary>
- /// 出行人数
- /// </summary>
- public int VisitPNumber { get; set; }
- }
- /// <summary>
- /// 接团信息详情
- /// 返回视图
- /// </summary>
- public class DelegationInfoWebView
- {
- /// <summary>
- /// 主键Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 销售报价号
- /// </summary>
- public string? SalesQuoteNo { get; set; }
- /// <summary>
- /// 团号
- /// </summary>
- public string? TourCode { get; set; }
- /// <summary>
- /// 接团人ID
- /// </summary>
- public int JietuanOperator { get; set; }
- /// <summary>
- /// 团组等级
- /// </summary>
- public int TeamLevSId { get; set; }
- /// <summary>
- /// 团组类型
- /// </summary>
- public int TeamDid { get; set; }
- /// <summary>
- /// 团组名称
- /// </summary>
- public string? TeamName { get; set; }
- /// <summary>
- /// 客户名称
- /// </summary>
- public string? ClientName { get; set; }
- /// <summary>
- /// 客户所属公司
- /// </summary>
- public string? ClientUnit { get; set; }
- /// <summary>
- /// 出访国家
- /// </summary>
- public string? VisitCountry { get; set; }
- /// <summary>
- /// 出团日期
- /// </summary>
- public DateTime VisitDate { get; set; }
- /// <summary>
- /// 出行天数
- /// </summary>
- public int VisitDays { get; set; }
- /// <summary>
- /// 出行人数
- /// </summary>
- public int VisitPNumber { get; set; }
- /// <summary>
- /// 合同时间
- /// </summary>
- public DateTime? TontractTime { get; set; }
- /// <summary>
- /// 是否用于投标
- /// 0 是 1 否
- /// </summary>
- public int IsBid { get; set; }
- /// <summary>
- /// 预付期限
- /// </summary>
- public int PayDay { get; set; }
- /// <summary>
- /// 预付金额
- /// </summary>
- public decimal PaymentMoney { get; set; }
- /// <summary>
- /// 出访目的
- /// </summary>
- public string? VisitPurpose { get; set; }
- /// <summary>
- /// 特俗需求
- /// </summary>
- public string? SpecialNeeds { get; set; }
- /// <summary>
- /// 其他需求
- /// </summary>
- public string? OtherNeeds { get; set; }
- /// <summary>
- /// 出国任务审批部门名称
- /// </summary>
- public string? CGRWSPBMMC { get; set; }
- /// <summary>
- /// 出国任务审批文号
- /// </summary>
- public string? CGRWSPWH { get; set; }
- /// <summary>
- /// 政治审查部门名称
- /// </summary>
- public string? ZZSCBMMC { get; set; }
- /// <summary>
- /// 政治审查部门审批文号
- /// </summary>
- public string? ZZSCSPWH { get; set; }
- /// <summary>
- /// 备注
- /// </summary>
- public string? Remark { get; set; }
- /// <summary>
- /// 手机号
- /// </summary>
- public string? TellPhone { get; set; }
- /// <summary>
- /// 微信号
- /// </summary>
- public string WeChatNo { get; set; }
- /// <summary>
- /// op提成等级
- /// </summary>
- public int OpRoyaltyLv { get; set; }
- /// <summary>
- /// 提成等级说明
- /// </summary>
- public string? OpRoyaltyRemark { get; set; }
- /// <summary>
- /// 公务需求
- /// </summary>
- public string Officialneeds { get; set; }
- }
- /// <summary>
- /// 接团信息列表
- /// 返回视图
- /// </summary>
- public class DelegationListView
- {
- /// <summary>
- /// 主键Id
- /// 团组Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 销售报价号
- /// </summary>
- public string? SalesQuoteNo { get; set; }
- /// <summary>
- /// 客户所属部门
- /// </summary>
- public string Department { get; set; }
- /// <summary>
- /// 团号
- /// </summary>
- public string? TourCode { get; set; }
- /// <summary>
- /// 接团操作人Id
- /// </summary>
- public int JietuanOperatorId { get; set; }
- /// <summary>
- /// 接团操作人
- /// </summary>
- public string? JietuanOperator { get; set; }
- /// <summary>
- /// 团组等级Id
- /// </summary>
- public int TeamLevId { get; set; }
- /// <summary>
- /// 团组等级
- /// </summary>
- public string? TeamLev { get; set; }
- /// <summary>
- /// 团组名称
- /// </summary>
- public string TeamName { get; set; }
- /// <summary>
- /// 客户名称
- /// </summary>
- public string? ClientName { get; set; }
- /// <summary>
- /// 客户所属公司
- /// </summary>
- public string? ClientUnit { get; set; }
- /// <summary>
- /// 团组类型Id
- /// </summary>
- public int TeamTypeId { get; set; }
- /// <summary>
- /// 团组类型
- /// </summary>
- public string? TeamType { get; set; }
- /// <summary>
- /// 出团日期
- /// </summary>
- public DateTime VisitDate { get; set; }
- public string VisitDateStr
- {
- get
- {
- return VisitDate.ToString("yyyy-MM-dd");
- }
- }
- /// <summary>
- /// 出行天数
- /// </summary>
- public int VisitDays { get; set; }
- /// <summary>
- /// 出行人数
- /// </summary>
- public int VisitPNumber { get; set; }
- /// <summary>
- /// 是否用于投标
- /// 0 否 1 是
- /// </summary>
- public int IsBid { get; set; }
- /// <summary>
- /// 是否操作完成
- /// 0否1是
- /// </summary>
- public int IsSure { get; set; }
- /// <summary>
- /// 流程管控Id
- /// </summary>
- public int GrpScheduleId { get; set; } = 0;
- public DateTime CreateTime { get; set; }
- public string GroupFirst { get; set; }
- public string CreateUserName { get; set; }
- }
-
- /// <summary>
- /// 团组信息 Page List
- /// </summary>
- public class DelegationPageListView : DelegationListView
- {
- /// <summary>
- /// 行号
- /// </summary>
- public int RowNumber { get; set; }
- }
- /// <summary>
- /// 团组信息 Page List
- /// </summary>
- public class DelegationPageCountView
- {
- /// <summary>
- /// 行号
- /// </summary>
- public int Count { get; set; }
- }
- /// <summary>
- /// 团组编号
- /// </summary>
- public class TeamCodeView
- {
- public string TourCode { get; set; }
- }
- /// <summary>
- /// 销售编号
- /// </summary>
- public class SalesQuoteNoView
- {
- public string SalesQuoteNo { get; set; }
- }
- /// <summary>
- /// 团组名称
- /// 返回视图
- /// </summary>
- public class GroupNameView
- {
- /// <summary>
- /// 团组Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团组名称
- /// </summary>
- public string GroupName { get; set; }
- }
- public class GroupNamePageView : GroupNameView
- {
- public int RowNumber { get; set; }
- }
- /// <summary>
- /// 根据团组ID 查询客户
- /// </summary>
- public class CrmByGroupIdView
- {
- /// <summary>
- /// 团组Id
- /// </summary>
- public int GrpId { get; set; }
- /// <summary>
- /// 客户名称
- /// </summary>
- public string clientName { get; set; }
- /// <summary>
- /// 客户手机号
- /// </summary>
- public string Tel { get; set; }
- /// <summary>
- /// 客户身份证号码
- /// </summary>
- 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; }
- }
- }
|