123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798 |
- using OASystem.Domain.ViewModels.Groups;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.Dtos.Groups
- {
- public class EnterExitCostDto
- {
- }
- /// <summary>
- /// 出入境费用详情 Dto
- /// </summary>
- public class EnterExitCostInfobyDiIdDto : PortDtoBase
- {
- /// <summary>
- /// 团组Id
- /// </summary>
- public int DiId { get; set; }
- }
- public class PostEnterExitCostMobileSubInfoDto : EnterExitCostInfobyDiIdDto
- {
- /// <summary>
- /// 费用项Type
- /// 1:境内费用 2:国际旅费 3:住宿费 4:伙食费 5:公杂费 6:培训费 7:其他
- /// </summary>
- public int SubType { get; set; }
- }
- /// <summary>
- /// 出入境费用 Add And Update Dto
- /// </summary>
- public class EnterExitCostOperateDto : PortDtoBase
- {
- public int UserId { get; set; }
- /// <summary>
- /// Id
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 团组Id
- /// </summary>
- public int DiId { get; set; }
- #region 境内费用(其他费用)
- /// <summary>
- /// 境内费用(其他费用)选择框
- /// </summary>
- public int ChoiceOne { get; set; }
- /// <summary>
- /// 境内费用(其他费用)
- /// </summary>
- public decimal InsidePay { get; set; }
- #region 境内费用(其他费用)子项
- /// <summary>
- /// 签证费
- /// </summary>
- public decimal Visa { get; set; }
- /// <summary>
- /// 签证费描述
- /// </summary>
- public string? VisaRemark { get; set; }
- /// <summary>
- /// 疫苗费
- /// </summary>
- public decimal YiMiao { get; set; }
- /// <summary>
- /// 核酸检测费用
- /// </summary>
- public decimal HeSuan { get; set; }
- /// <summary>
- /// 服务费用
- /// </summary>
- public decimal Service { get; set; }
- /// <summary>
- /// 参展门票
- /// </summary>
- public decimal Ticket { get; set; }
- /// <summary>
- /// 保险费
- /// </summary>
- public decimal Safe { get; set; }
- public string FirstItemRemark { get; set; }
- #endregion
- #endregion
- #region 国际旅费
- /// <summary>
- /// 国际旅费合计选择框
- /// </summary>
- public int ChoiceTwo { get; set; }
- /// <summary>
- /// 经济舱小计选择框
- /// </summary>
- public int SumJJC { get; set; }
- /// <summary>
- /// 公务舱小计选择框
- /// </summary>
- public int SumGWC { get; set; }
- /// <summary>
- /// 公务舱小计选择框
- /// </summary>
- public int SumTDC { get; set; }
- #region 国际旅费子项
- /// <summary>
- /// 国际旅费合计(经济舱)
- /// </summary>
- public decimal OutsideJJPay { get; set; }
- /// <summary>
- /// 国际旅费合计(公务舱)
- /// </summary>
- public decimal OutsideGWPay { get; set; }
- /// <summary>
- /// 国际旅费合计(头等舱)
- /// </summary>
- public decimal OutsideTDPay { get; set; }
- /// <summary>
- /// 国际机票(经济舱)
- /// </summary>
- public decimal AirJJ { get; set; }
- /// <summary>
- /// 国际机票(公务舱)
- /// </summary>
- public decimal AirGW { get; set; }
- /// <summary>
- /// 国际机票(头等舱)
- /// </summary>
- public decimal AirTD { get; set; }
- /// <summary>
- /// 国外城市间交通费
- /// </summary>
- public decimal CityTranffic { get; set; }
- /// <summary>
- /// 多个币种存储
- /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
- /// </summary>
- public List<CurrencyInfo>? Currencys { get; set; }
- #endregion
- #endregion
- #region 住宿费
- /// <summary>
- /// 住宿费合计选择框
- /// </summary>
- public int ChoiceThree { get; set; }
- /// <summary>
- /// 住宿费子项Data
- /// </summary>
- public List<DayAndCostAddView>? QuarterageData { get; set; }
- #endregion
- #region 伙食费
- /// <summary>
- /// 伙食费合计选择框
- /// </summary>
- public int ChoiceFour { get; set; }
- /// <summary>
- /// 伙食费子项Data
- /// </summary>
- public List<DayAndCostAddView>? BoardWagesData { get; set; }
- #endregion
- #region 公杂费
- /// <summary>
- /// 公杂费合计选择框
- /// </summary>
- public int ChoiceFive { get; set; }
- /// <summary>
- /// 公杂费子项Data
- /// </summary>
- public List<DayAndCostAddView>? MiscellaneousFeeData { get; set; }
- #endregion
- #region 培训费
- /// <summary>
- /// 培训费用选择框
- /// </summary>
- public int ChoiceSix { get; set; }
- /// <summary>
- /// 培训费子项Data
- /// </summary>
- public List<DayAndCostAddView>? TrainingExpenseData { get; set; }
- #endregion
- #region 其他费用
- /// <summary>
- /// 其他费用选择框
- /// </summary>
- public int OtherExpenses_Checked { get; set; }
- /// <summary>
- /// 培训费子项Data
- /// </summary>
- public List<DayOtherPriceView> DayOtherPriceData { get; set; }
- #endregion
- #region 最下面 选择框状态
- /// <summary>
- /// 经济舱选择框
- /// </summary>
- public int AirJJC_Checked { get; set; }
- /// <summary>
- /// 公务舱选择框
- /// </summary>
- public int AirGWC_Checked { get; set; }
- /// <summary>
- /// 公务舱选择框
- /// </summary>
- public int AirTDC_Checked { get; set; }
- #endregion
- }
- public class ConfirmCostDto {
- /// <summary>
- /// 类型
- /// 1:确认 2:撤回
- /// </summary>
- public int Type { get; set; }
- /// <summary>
- /// 数据Id
- /// </summary>
- public int Id { get; set; }
- }
- /// <summary>
- /// 出入境费用 - 表格导出 Dto
- /// </summary>
- public class EnterExitCostDownloadDto : PortDtoBase
- {
- public int DiId { get; set; }
- /// <summary>
- /// 模板类型
- /// 1 明细表
- /// 2 表格
- /// 3 团组成员名单
- /// </summary>
- public int ExportType { get; set; }
- /// <summary>
- /// 类型Id
- /// </summary>
- public int SubTypeId { get; set; }
- }
- /// <summary>
- /// 出入境费用 - 一键清空 dto
- /// </summary>
- public class EnterExitCostOneClickClearDto : PortDtoBase
- {
- public int UserId { get; set; }
- public int DiId { get; set; }
- public int Id { get; set; }
- }
- /// <summary>
- /// 团组模块 - 出入境国家费用标准 Page List
- /// </summary>
- public class NationalTravelFeePageDto : DtoBase
- {
- /// <summary>
- /// 国家
- /// </summary>
- public string Country { get; set; }
- /// <summary>
- /// 城市
- /// </summary>
- public string City { get; set; }
- }
- /// <summary>
- /// 团组模块 - 出入境国家费用标准
- /// 根据国家城市查询Dto
- /// </summary>
- public class NationalTravelFeeByCountryAndCityDto : PortDtoBase
- {
- /// <summary>
- /// 国家
- /// </summary>
- public string Country { get; set; }
- /// <summary>
- /// 城市
- /// </summary>
- public string City { get; set; }
- }
- /// <summary>
- /// 出入境费用子项删除
- /// </summary>
- public class EnterExitCostSubItemDelDto : DelBaseDto
- { }
- /// <summary>
- /// 团组模块 - 出入境国家费用标准 - Del
- /// </summary>
- public class NationalTravelFeeDelDto : DelBaseDto
- {
-
- }
- /// <summary>
- /// 团组模块 - 出入境国家费用标准 - Add Or Update Dto
- /// </summary>
- public class NationalTravelFeeOperateDto:PortDtoBase
- {
- /// <summary>
- /// 编号
- /// add Id = 0 Or Update Id=Id值
- /// </summary>
- public int Id { get; set; }
- /// <summary>
- /// 创建者Id
- /// </summary>
- public int UserId { get; set; }
- /// <summary>
- /// 洲别
- /// </summary>
- public string? Continent { get; set; }
- /// <summary>
- /// 国家
- /// </summary>
- public string? Country { get; set; }
- /// <summary>
- /// 城市
- /// </summary>
- public string? City { get; set; }
- /// <summary>
- /// 币种
- /// Sys_SetData STid=66
- /// </summary>
- public int Currency { get; set; }
- /// <summary>
- /// 住宿费
- /// </summary>
- public decimal? RoomCost { get; set; } = 0;
- /// <summary>
- /// 伙食费
- /// </summary>
- public decimal? FoodCost { get; set; } = 0;
- /// <summary>
- /// 公杂费
- /// </summary>
- public decimal? PublicCost { get; set; } = 0;
- /// <summary>
- /// 备注
- /// </summary>
- public string? Remark { get; set; }
- }
- #region Mobile Request Dto
- public class PostEnterExitCostMobileGroupDataDto : DtoBase
- {
- public string GroupName { get; set; }
- }
- public class PostEnterExitCostMobileCurrencyDataDto : DtoBase
- {
- public string CurrencyName { get; set; }
- }
- public class PostEnterExitCostMobileOtherItemCurrencyDataDto : PortDtoBase
- {
- public int DiId { get; set; }
- }
- public class GetEnterExitCostMobileFeeTipsDto : PortDtoBase {
- /// <summary>
- /// 团组Id
- /// </summary>
- public int GroupId { get; set; }
- /// <summary>
- /// 提示数据类型
- /// 1 实时汇率
- /// 2 签证费用
- /// 3 机票费用
- /// </summary>
- public int TipsType { get; set; }
- }
- public class PostNationalTravelFeeMobileDataDto :DtoBase
- {
- /// <summary>
- /// 搜索条件
- /// </summary>
- public string Search { get; set; }
- }
- public class PostNationalTravelFeeMobileInfoDto : PortDtoBase
- {
- public int DiId { get; set; }
- }
- #region op
- public class PostEnterExitCostMobileUpdateDtoBase : PortDtoBase {
- public int Id { get; set; }
- public int DiId { get; set; }
- public int CurrUserId { get; set; }
- }
- public class PostEnterExitCostMobileFeeRateOpDto : PostEnterExitCostMobileUpdateDtoBase
- {
- /// <summary>
- /// 多个币种存储
- /// 存储方式: 美元(USD):6.2350|.......|墨西哥比索(MXN):1.0000
- /// </summary>
- public CurrencyInfo[] Currencys { get; set; }
- }
- public class PostEnterExitCostMobileFeeOpCheckboxDto : PostEnterExitCostMobileUpdateDtoBase
- {
- /// <summary>
- /// 境内费用(其他费用)选择框
- /// </summary>
- public int ChoiceOne { get; set; }
- /// <summary>
- /// 国际旅费合计选择框
- /// </summary>
- public int ChoiceTwo { get; set; }
- /// <summary>
- /// 经济舱小计选择框
- /// </summary>
- public int SumJJC { get; set; }
- /// <summary>
- /// 公务舱小计选择框
- /// </summary>
- public int SumGWC { get; set; }
- /// <summary>
- /// 公务舱小计选择框
- /// </summary>
- public int SumTDC { get; set; }
- /// <summary>
- /// 住宿费合计选择框
- /// </summary>
- public int ChoiceThree { get; set; }
- /// <summary>
- /// 伙食费合计选择框
- /// </summary>
- public int ChoiceFour { get; set; }
- /// <summary>
- /// 公杂费合计选择框
- /// </summary>
- public int ChoiceFive { get; set; }
- /// <summary>
- /// 培训费用选择框
- /// </summary>
- public int ChoiceSix { get; set; }
- /// <summary>
- /// 其他费用选择框
- /// </summary>
- public int OtherExpenses_Checked { get; set; }
- }
- public class EnterExitCostMobileOpSingleCheckboxDto: PostEnterExitCostMobileUpdateDtoBase
- {
- /// <summary>
- /// 子项复选框类型
- /// 3:住宿费; 4:伙食费; 5:公杂费; 6:培训费;7:其他;
- /// </summary>
- public int ItemType { get; set; }
- /// <summary>
- /// 是否选中
- /// 0 未选择 1 选中
- /// </summary>
- public int IsSelected { get; set; }
- }
- public class PostEnterExitCostMobileOpStep1Dto : PostEnterExitCostMobileUpdateDtoBase
- {
- /// <summary>
- /// 复选框选中
- /// 0 未选中 1 选中
- /// </summary>
- public int ChoiceOne { get; set; }
- /// <summary>
- /// 签证费
- /// </summary>
- public decimal Visa { get; set; }
- /// <summary>
- /// 签证费描述
- /// </summary>
- public string? VisaRemark { get; set; }
- /// <summary>
- /// 疫苗费
- /// </summary>
- public decimal YiMiao { get; set; }
- /// <summary>
- /// 核酸检测费用
- /// </summary>
- public decimal HeSuan { get; set; }
- /// <summary>
- /// 服务费用
- /// </summary>
- public decimal Service { get; set; }
- /// <summary>
- /// 参展门票
- /// </summary>
- public decimal Ticket { get; set; }
- /// <summary>
- /// 保险费
- /// </summary>
- public decimal Safe { get; set; }
- public string FirstItemRemark { get; set; }
- }
- public class PostEnterExitCostMobileOpStep2Dto : PostEnterExitCostMobileUpdateDtoBase
- {
- /// <summary>
- /// 复选框选中(经济舱)
- /// 0 未选中 1 选中
- /// </summary>
- public int ChoiceTwoJJ { get; set; }
- /// <summary>
- /// 国际旅费合计(经济舱)
- /// </summary>
- public decimal OutsideJJPay { get; set; }
- /// <summary>
- /// 复选框选中(公务舱)
- /// 0 未选中 1 选中
- /// </summary>
- public int ChoiceTwoGW { get; set; }
- /// <summary>
- /// 国际旅费合计(公务舱)
- /// </summary>
- public decimal OutsideGWPay { get; set; }
- /// <summary>
- /// 复选框选中(头等舱)
- /// 0 未选中 1 选中
- /// </summary>
- public int ChoiceTwoTD { get; set; }
- /// <summary>
- /// 国际旅费合计(头等舱)
- /// </summary>
- public decimal OutsideTDPay { get; set; }
- /// <summary>
- /// 国际机票(经济舱)
- /// </summary>
- public decimal AirJJ { get; set; }
- /// <summary>
- /// 国际机票(公务舱)
- /// </summary>
- public decimal AirGW { get; set; }
- /// <summary>
- /// 国际机票(头等舱)
- /// </summary>
- public decimal AirTD { get; set; }
- /// <summary>
- /// 国外城市间交通费
- /// </summary>
- public decimal CityTranffic { get; set; }
- }
- public class PostEnterExitCostMobileOpStep3To6Dto
- {
- public int PortType { get; set; }
- public int DiId { get; set; }
- public int CurrUserId { get; set; }
- /// <summary>
- /// 费用类型
- /// 1 住宿费;2 伙食费;3 公杂费;4 培训费
- /// </summary>
- public int FeeType { get; set; }
- /// <summary>
- /// 详情
- /// </summary>
- public DayAndCostMobileInfoDto[] Infos { get; set; }
- }
- public class PostEnterExitCostMobileOpSingleStep3To6Dto : DayAndCostMobileInfoDto
- {
- public int PortType { get; set; }
- public int DiId { get; set; }
- public int CurrUserId { get; set; }
- /// <summary>
- /// 数据主表Id
- /// </summary>
- //public int ParentId { get; set; }
- /// <summary>
- /// 复选框
- /// 0 未选中 1 选中
- /// </summary>
- //public int IsSelect { get; set; }
- /// <summary>
- /// 费用类型
- /// 3 住宿费;4 伙食费;5 公杂费;6 培训费
- /// </summary>
- public int FeeType { get; set; }
- }
- public class DayAndCostMobileInfoDto
- {
- /// <summary>
- /// 数据子表Id
- /// </summary>
- public int SubId { get; set; }
- /// <summary>
- /// 天数
- /// </summary>
- public int Days { get; set; }
- /// <summary>
- /// 地名Id
- /// </summary>
- public int NationalTravelFeeId { get; set; }
- /// <summary>
- /// 费用标准
- /// </summary>
- public decimal Cost { get; set; }
- /// <summary>
- /// 币种
- /// Sys_SetData STid = 66
- /// </summary>
- public int Currency { get; set; }
- /// <summary>
- /// 小计
- /// </summary>
- public decimal SubTotal { get; set; }
- }
- public class PostEnterExitCostMobileOpStep7Dto
- {
- public int PortType { get; set; }
- public int DiId { get; set; }
- public int CurrUserId { get; set; }
- /// <summary>
- /// 详情
- /// </summary>
- public DayOtherPriceMobileInfoDto[] Infos { get; set; }
- }
- public class PostEnterExitCostMobileOpSingleStep7Dto : DayOtherPriceMobileInfoDto
- {
- public int PortType { get; set; }
- //public int DiId { get; set; }
- public int CurrUserId { get; set; }
- ///// <summary>
- ///// 数据主表Id
- ///// </summary>
- //public int ParentId { get; set; }
- ///// <summary>
- ///// 复选框
- ///// 0 未选中 1 选中
- ///// </summary>
- //public int IsSelect { get; set; }
- }
- public class DayOtherPriceMobileInfoDto
- {
- public int SubId { get; set; }
- public int Diid { get; set; }
- public int SetDataId { get; set; }
- public int Index { get; set; }
- public decimal Cost { get; set; }
- public int Currency { get; set; }
- public decimal SubTotal { get; set; }
- public string Remark { get; set; }
- }
- #endregion
- #endregion
- }
|