123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606 |
- using OASystem.Domain.Entities.Groups;
- using System;
- using System.Collections.Generic;
- using System.Data.SqlTypes;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace OASystem.Domain.ViewModels.Groups
- {
-
-
-
- public class EnterExitCostView:Grp_EnterExitCost { }
-
-
-
- public class NationalTravelFeeView : Grp_NationalTravelFee { }
-
-
-
- public class NationalTravelFeeInfoView
- {
-
-
-
- public int Id { get; set; }
-
-
-
- public string? Continent { get; set; }
-
-
-
- public string? Country { get; set; }
-
-
-
- public string? City { get; set; }
-
-
-
-
- public int Currency { get; set; }
-
-
-
- public string? CurrencyCode { get; set; }
-
-
-
- public string? CurrencyName { get; set; }
-
-
-
- public decimal RoomCost { get; set; } = 0;
-
-
-
- public decimal FoodCost { get; set; } = 0;
-
-
-
- public decimal PublicCost { get; set; } = 0;
-
-
-
- public int LastUpdateUserId { get; set; }
-
-
-
- public string? LastUpdateUserName { get; set; }
-
-
-
- public DateTime? LastUpdateTime { get; set; }
- }
-
-
-
- public class NationalTravelFeePageInfoView
- {
-
-
-
- public int RowNumber { get; set; }
- public int Id { get; set; }
-
-
-
- public string? Continent { get; set; }
-
-
-
- public string? Country { get; set; }
-
-
-
- public string? City { get; set; }
-
-
-
-
- public int Currency { get; set; }
-
-
-
- public string CurrencyCode { get; set; }
-
-
-
- public string CurrencyName { get; set; }
-
-
-
- public decimal RoomCost { get; set; }
-
-
-
- public decimal FoodCost { get; set; }
-
-
-
- public decimal PublicCost { get; set; }
-
-
-
- public string Remark { get; set; }
-
-
-
- public int LastUpdateUserId { get; set; }
-
-
-
- public string LastUpdateUserName { get; set; }
-
-
-
- public DateTime? LastUpdateTime { get; set; } = DateTime.Now;
- }
-
-
-
- public class NationalTravelFeeInfoByCountryAndCityView
- {
-
-
-
- public string? Continent { get; set; }
-
-
-
- public string? Country { get; set; }
-
-
-
- public string? City { get; set; }
-
-
-
-
- public int Currency { get; set; }
-
-
-
- public string CurrencyCode { get; set; }
-
-
-
- public string CurrencyName { get; set; }
-
-
-
- public decimal RoomCost { get; set; }
-
-
-
- public decimal FoodCost { get; set; }
-
-
-
- public decimal PublicCost { get; set; }
-
-
-
- public string Remark { get; set; }
-
-
-
- public int LastUpdateUserId { get; set; }
-
-
-
- public string LastUpdateUserName { get; set; }
-
-
-
- public DateTime? LastUpdateTime { get; set; } = DateTime.Now;
- }
-
-
-
- public class EnterExitCostInfoView
- {
-
-
-
- public int Id { get; set; }
-
-
-
- public int DiId { get; set; }
-
-
-
- public decimal InsidePay { get; set; }
- #region 境内费用(其他费用)子项
-
-
-
- public decimal Visa { get; set; }
-
-
-
- public string? VisaRemark { get; set; }
-
-
-
- public decimal YiMiao { get; set; }
-
-
-
- public decimal HeSuan { get; set; }
-
-
-
- public decimal Service { get; set; }
-
-
-
- public decimal Ticket { get; set; }
-
-
-
- public decimal Safe { get; set; }
- #endregion
-
-
-
- public decimal OutsideJJPay { get; set; }
-
-
-
- public decimal OutsaideGWPay { get; set; }
- #region 国际旅费合计(经济舱\公务舱)
-
-
-
- public decimal AirJJ { get; set; }
-
-
-
- public decimal AirGW { get; set; }
-
-
-
- public decimal CityTranffic { get; set; }
- #region 汇率币种
-
-
-
-
- public List<CurrencyInfo>? Currencys{ get; set; }
- #endregion
- #endregion
- #region 选择框状态
-
-
-
- public int ChoiceOne { get; set; }
-
-
-
- public int ChoiceTwo { get; set; }
-
-
-
- public int SumJJC { get; set; }
-
-
-
- public int SumGWC { get; set; }
-
-
-
- public int ChoiceThree { get; set; }
-
-
-
- public List<DayAndCostInfoView>? QuarterageData { get; set; }
-
-
-
- public int ChoiceFour { get; set; }
-
-
-
- public List<DayAndCostInfoView>? BoardWagesData { get; set; }
-
-
-
- public int ChoiceFive { get; set; }
-
-
-
- public List<DayAndCostInfoView>? MiscellaneousFeeData { get; set; }
-
-
-
- public int ChoiceSix { get; set; }
-
-
-
- public List<DayAndCostInfoView>? TrainingExpenseData { get; set; }
-
-
-
- public int AirJJC_Checked { get; set; }
-
-
-
- public int AirGWC_Checked { get; set; }
- #endregion
- }
-
-
-
- public class DayAndCostInfoView
- {
-
-
-
- public int Id { get; set; }
-
-
-
- public int DiId { get; set; }
-
-
-
- public int Type { get; set; }
-
-
-
- public string? TypeName
- {
- get
- {
- string str = "";
- if (Type == 1) str = string.Format("住宿费");
- else if (Type == 2) str = string.Format("伙食费");
- else if (Type == 3) str = string.Format("公杂费");
- else if (Type == 4) str = string.Format("培训费");
- return str;
- }
- }
-
-
-
- public int Days { get; set; }
-
-
-
- public int NationalTravelFeeId { get; set; }
-
-
-
- public string? Country { get; set; }
-
-
-
- public string? City { get; set; }
-
-
-
-
-
-
-
- public string? PlaceName
- {
- get
- {
- string str = "";
- if (!string.IsNullOrEmpty(Country))
- {
- if (City.Contains("城市")) str = Country;
- else str = City;
- }
- return str;
- }
- }
-
-
-
- public decimal Cost { get; set; }
-
-
-
-
- public int Currency { get; set; }
-
-
-
- public string? CurremcyCode { get; set; }
-
-
-
- public string? CurrencyName { get; set; }
-
-
-
- public decimal SubTotal { get; set; }
-
-
-
- public string? Remark { get; set; } = "";
- }
-
-
-
- public class DayAndCostAddView
- {
-
-
-
- public int Id { get; set; }
-
-
-
- public int DiId { get; set; }
-
-
-
- public int Type { get; set; }
-
-
-
- public int Days { get; set; }
-
-
-
- public int NationalTravelFeeId { get; set; }
-
-
-
- public decimal Cost { get; set; }
-
-
-
-
- public int Currency { get; set; }
-
-
-
- public decimal SubTotal { get; set; }
-
-
-
- public string? Remark { get; set; } = "";
- }
-
-
-
- public class CurrencyInfo
- {
-
-
-
- public string? CurrencyCode { get; set; }
-
-
-
- public string? CurrencyName { get; set; }
-
-
-
- public decimal Rate { get; set; }
- }
- }
|