using Google.Protobuf.WellKnownTypes; using OASystem.Domain.Entities; using OASystem.Domain.Entities.Groups; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace OASystem.Domain.Dtos.Groups { public class GroupCostSavaDto { //选中 public List CheckBoxs { get; set; } //列表 public List GroupCosts { get; set; } //房间数 public List CostTypeHotelNumbers { get; set; } //系数 public List GroupCostParameters { get; set; } public int Userid { get; set; } public int Diid { get; set; } } public class CarGuidesDto { } public class GroupIsShareDto { public int Diid { get; set; } } public class Grp_CheckBoxsDto { public int Diid { get; set; } /// /// 选中区域 Top, Left, Right /// public string CbType { get; set; } /// /// 选中的值 /// public string CbValues { get; set; } } public class Grp_GroupCostDto { int diid; /// /// 团号 /// public int Diid { get { return diid; } set { diid = value; } } string day; /// /// 天数 /// public string DAY { get { return day; } set { day = value; } } string date; /// /// 日期 /// public string Date { get { return date; } set { date = value; } } string itin; /// /// 行程描述 /// public string ITIN { get { return itin; } set { itin = value; } } string carType; /// /// 车型 /// public string CarType { get { return carType; } set { carType = value; } } decimal carCost; /// /// 车费用 /// public decimal CarCost { get { return carCost; } set { carCost = value; } } int carNumber; /// /// 车数量 /// public int CarNumber { get { return carNumber; } set { carNumber = value; } } decimal carTiming; /// /// 用车时间 /// public decimal CarTiming { get { return carTiming; } set { carTiming = value; } } decimal tgs; /// /// 导游工资 /// public decimal TGS { get { return tgs; } set { tgs = value; } } decimal tgwh; /// /// 导游工作时间 /// public decimal TGWH { get { return tgwh; } set { tgwh = value; } } decimal tgn; /// /// 导游数量 /// public decimal TGN { get { return tgn; } set { tgn = value; } } /// /// 导游超时费用 /// decimal tgof; public decimal TGOF { get { return tgof; } set { tgof = value; } } decimal tgm; /// /// 导游餐补 /// public decimal TGM { get { return tgm; } set { tgm = value; } } decimal tga; /// /// 导游房补 /// public decimal TGA { get { return tga; } set { tga = value; } } decimal tgtf; /// /// 导游交通费 /// public decimal TGTF { get { return tgtf; } set { tgtf = value; } } decimal tgef; /// /// 导游景点费 /// public decimal TGEF { get { return tgef; } set { tgef = value; } } decimal cfs; /// /// 司机工资 /// public decimal CFS { get { return cfs; } set { cfs = value; } } /// /// 司机餐补 /// decimal cfm; public decimal CFM { get { return cfm; } set { cfm = value; } } /// /// 司机超时费用 /// decimal cfof; public decimal CFOF { get { return cfof; } set { cfof = value; } } decimal b; /// /// 早餐 /// public decimal B { get { return b; } set { b = value; } } decimal l; /// /// 午餐 /// public decimal L { get { return l; } set { l = value; } } decimal d; /// /// 晚餐 /// public decimal D { get { return d; } set { d = value; } } decimal tbr; /// /// 1/2 双人间 /// public decimal TBR { get { return tbr; } set { tbr = value; } } decimal sgr; /// /// 单间 /// public decimal SGR { get { return sgr; } set { sgr = value; } } decimal jses; /// /// 小套房 /// public decimal JS_ES { get { return jses; } set { jses = value; } } decimal suite; /// /// 套房 /// public decimal Suite { get { return suite; } set { suite = value; } } string accon; /// /// 酒店名称 /// public string ACCON { get { return accon; } set { accon = value; } } decimal tv; /// /// 公务活动费用 /// public decimal TV { get { return tv; } set { tv = value; } } decimal il; /// /// 邀请函相关费用 /// public decimal iL { get { return il; } set { il = value; } } decimal iF; /// /// 公务翻译费用 /// public decimal IF { get { return iF; } set { iF = value; } } decimal ef; /// /// 景点门票 /// public decimal EF { get { return ef; } set { ef = value; } } decimal brf; /// /// 饮料零食水果 /// public decimal B_R_F { get { return brf; } set { brf = value; } } decimal te; /// /// 出行物资 /// public decimal TE { get { return te; } set { te = value; } } decimal tgtips; /// /// 导游小费 /// public decimal TGTips { get { return tgtips; } set { tgtips = value; } } decimal drvtips; /// /// 司机小费 /// public decimal DRVTips { get { return drvtips; } set { drvtips = value; } } decimal pc; /// /// 零用金 /// public decimal PC { get { return pc; } set { pc = value; } } decimal tlf; /// /// 领队费 /// public decimal TLF { get { return tlf; } set { tlf = value; } } decimal ect; /// /// 会务费 /// public decimal ECT { get { return ect; } set { ect = value; } } public string GwCount { get; set; } public string FyCount { get; set; } string efr; /// /// 景点门票 描述 /// public string EFR { get { return efr; } set { efr = value; } } } public class Grp_CostTypeHotelNumberDto { /// /// 数据id /// public int Id { get; set; } /// /// 单人间 /// public int SGR { get; set; } /// /// 双人间 /// public int TBR { get; set; } /// /// 小套房 /// public int JSES { get; set; } /// /// 大套房 /// public int SUITE { get; set; } /// /// 类型 Default A B .... /// public string Type { get; set; } /// /// 团组id /// public int Diid { get; set; } } public class Grp_GroupCostParameterDto { /// /// 数据id /// public int Id { get; set; } /// /// 团组ID /// public int DiId { get; set; } /// /// 币种 /// public string Currency { get; set; } /// /// 汇率 /// public decimal Rate { get; set; } /// /// 税率 /// public decimal Tax { get; set; } /// /// 房费预算 /// public decimal FFYS { get; set; } /// /// 酒店系数 /// public decimal HotelXS { get; set; } /// /// 经济舱成本 /// public decimal JJCCB { get; set; } /// /// 经济舱系数 /// public decimal JJCXS { get; set; } /// /// 经济舱人数 /// public int JJCRS { get; set; } /// /// 公务舱成本 /// public decimal GWCCB { get; set; } /// /// 公务舱系数 /// public decimal GWCXS { get; set; } /// /// 公务舱人数 /// public int GWCRS { get; set; } /// /// 火车票成本 /// public decimal HCPCB { get; set; } /// /// 火车票系数 /// public decimal HCPXS { get; set; } /// /// 火车票人数 /// public int HCPRS { get; set; } /// /// 船票成本 /// public decimal CPCB { get; set; } /// /// 船票系数 /// public decimal CPXS { get; set; } /// /// 船票人数 /// public int CPRS { get; set; } /// /// 保险成本 /// public decimal BXCB { get; set; } /// /// 保险系数 /// public decimal BXXS { get; set; } /// /// 保险人数 /// public int BXRS { get; set; } /// /// 核酸检测成本 /// public decimal HSCB { get; set; } /// /// 核酸检测系数 /// public decimal HSXS { get; set; } /// /// 核酸检测人数 /// public int HSRS { get; set; } /// /// 签证成本 /// public decimal VisaCB { get; set; } /// /// 签证系数 /// public decimal VisaXS { get; set; } /// /// 签证人数 /// public int VisaRS { get; set; } /// /// 公务成本 : 公杂费 /// public decimal GWCB { get; set; } /// /// 公务系数: 公杂费 /// public decimal GWXS { get; set; } /// /// 公务人数 : 公杂费 /// public int GWRS { get; set; } /// /// 地接成本 /// public decimal DJCB { get; set; } /// /// 地接人数 /// public int DJRS { get; set; } /// /// 地接系数 /// public decimal DJXS { get; set; } /// /// 单间 单人成本 /// public decimal SGRCB { get; set; } /// /// 单间数量(人数) /// public int SGRNumber { get; set; } /// /// 单间 系数 /// public decimal SGRXS { get; set; } /// /// 1/2标间 单人成本 /// public decimal TBRCB { get; set; } /// /// 1/2标间数量(人数) /// public int TBRNumber { get; set; } /// /// 1/2标间 系数 /// public decimal TBRXS { get; set; } /// /// 小套房/豪华套房 单人成本 /// public decimal JSESCB { get; set; } /// /// 小套房/豪华套房数量(人数) /// public int JSESNumber { get; set; } /// /// 小套房/豪华套房 系数 /// public decimal JSESXS { get; set; } /// /// 套房 单人成本 /// public decimal SUITECB { get; set; } /// /// 套房数量(人数) /// public int SUITENumber { get; set; } /// /// 套房 系数 /// public decimal SUITEXS { get; set; } /// /// 零用金成本 /// public decimal LYJCB { get; set; } /// /// 零用金系数 /// public decimal LYJXS { get; set; } /// /// 零用金人数 /// public int LYJRS { get; set; } /// /// 成本完成标识 0:未完成 1:完成 /// public int IsShare { get; set; } /// /// 分段类型 /// public string CostType { get; set; } /// /// 开始时间 /// public string CostTypeStartTime { get; set; } /// /// 结束时间 /// public string CostTypeendTime { get; set; } /// /// 此段人数 /// public int CostTypenumber { get; set; } /// /// 头等舱成本 /// public decimal TDCCB { get; set; } /// /// 头等舱系数 /// public decimal TDCXS { get; set; } /// /// 头等舱人数 /// public int TDCRS { get; set; } } public class GroupCostInItDto { public int Diid { get; set; } } public class GroupCostExportWordFile { public int Diid { get; set; } public List airs { get; set; } } public class ExportWordFileAir { public string code { get; set; } public int number { get; set; } public decimal price { get; set; } public string costType { get; set; } } public class GroupCostExportExcelFile { public int Diid { get; set; } public string costType { get; set; } public titleChunk title { get; set; } public List leftInfo { get; set; } public List rightInfo { get; set; } public List titleModel { get; set; } } public class ExportClientWordFileDto { public int Diid { get; set; } public string costType { get; set; } public decimal Rate { get; set; } public string CarGuides1 { get; set; } public string Meal { get; set; } public string SubsidizedMeals { get; set; } public string NightRepair { get; set; } public string AttractionsTickets { get; set; } public string MiscellaneousFees { get; set; } public string ATip { get; set; } public string TzZCost { get; set; } public List leftInfo { get; set; } } public class LeftModel { public string Type { get; set; } public List leftinfoNumber { get; set; } } public class RightModel { public string Type { get; set; } public List rightInfoNumber { get; set; } } public class TitleModel { public string label { get; set; } public string text { get; set; } } public class RightInfoModel { public string cb { get; set; } public int index { get; set; } public string rs { get; set; } public string title { get; set; } public string xs { get; set; } public string bj { get; set; } } public class leftInfoModel { public string cb { get; set; } public int index { get; set; } public string rs { get; set; } public string title { get; set; } public string xs { get; set; } } /// /// GroupCost 适用 excel 导出 /// public class GroupCost_Excel { int id; /// /// 主键 /// public int Id { get { return id; } set { id = value; } } string diid; /// /// 团号 /// public string Diid { get { return diid; } set { diid = value; } } string day; /// /// 天数 /// public string DAY { get { return day; } set { day = value; } } string date; /// /// 日期 /// public string Date { get { return date; } set { date = value; } } string itin; /// /// 行程描述 /// public string ITIN { get { return itin; } set { itin = value; } } string carType; /// /// 车型 /// public string CarType { get { return carType; } set { carType = value; } } string carCost; /// /// 车费用 /// public string CarCost { get { return carCost; } set { carCost = value; } } string carNumber; /// /// 车数量 /// public string CarNumber { get { return carNumber; } set { carNumber = value; } } string carTiming; /// /// 用车时间 /// public string CarTiming { get { return carTiming; } set { carTiming = value; } } string tgs; /// /// 导游工资 /// public string TGS { get { return tgs; } set { tgs = value; } } string tgn; /// /// 导游人数 /// public string TGN { get { return tgn; } set { tgn = value; } } string tgwk; /// /// 导游工资 /// public string TGWH { get { return tgwk; } set { tgwk = value; } } /// /// 导游超时费用 /// string tgof; public string TGOF { get { return tgof; } set { tgof = value; } } string tgm; /// /// 导游餐补 /// public string TGM { get { return tgm; } set { tgm = value; } } string tga; /// /// 导游房补 /// public string TGA { get { return tga; } set { tga = value; } } string tgtf; /// /// 导游交通费 /// public string TGTF { get { return tgtf; } set { tgtf = value; } } string tgef; /// /// 导游景点费 /// public string TGEF { get { return tgef; } set { tgef = value; } } string cfs; /// /// 司机工资 /// public string CFS { get { return cfs; } set { cfs = value; } } /// /// 司机餐补 /// string cfm; public string CFM { get { return cfm; } set { cfm = value; } } /// /// 司机超时费用 /// string cfof; public string CFOF { get { return cfof; } set { cfof = value; } } string b; /// /// 早餐 /// public string B { get { return b; } set { b = value; } } string l; /// /// 午餐 /// public string L { get { return l; } set { l = value; } } string d; /// /// 晚餐 /// public string D { get { return d; } set { d = value; } } string tbr; /// /// 1/2 双人间 /// public string TBR { get { return tbr; } set { tbr = value; } } string sgr; /// /// 单间 /// public string SGR { get { return sgr; } set { sgr = value; } } string jses; /// /// 小套房 /// public string JS_ES { get { return jses; } set { jses = value; } } string suite; /// /// 套房 /// public string Suite { get { return suite; } set { suite = value; } } string accon; /// /// 酒店名称 /// public string ACCON { get { return accon; } set { accon = value; } } string tv; /// /// 公务活动费用 /// public string TV { get { return tv; } set { tv = value; } } string il; /// /// 邀请函相关费用 /// public string iL { get { return il; } set { il = value; } } string iF; /// /// 公务翻译费用 /// public string IF { get { return iF; } set { iF = value; } } string ef; /// /// 景点门票 /// public string EF { get { return ef; } set { ef = value; } } string brf; /// /// 饮料零食水果 /// public string B_R_F { get { return brf; } set { brf = value; } } string te; /// /// 出行物资 /// public string TE { get { return te; } set { te = value; } } string tgtips; /// /// 导游小费 /// public string TGTips { get { return tgtips; } set { tgtips = value; } } string drvtips; /// /// 司机小费 /// public string DRVTips { get { return drvtips; } set { drvtips = value; } } string pc; /// /// 零用金 /// public string PC { get { return pc; } set { pc = value; } } string tlf; /// /// 领队费 /// public string TLF { get { return tlf; } set { tlf = value; } } string ect; /// /// 会务费 /// public string ECT { get { return ect; } set { ect = value; } } int oper; /// /// 操作员 /// public int Oper { get { return oper; } set { oper = value; } } string opTime; /// /// 操作时间 /// public string OpTime { get { return opTime; } set { opTime = value; } } int isdel; /// /// 删除标识 /// public int Isdel { get { return isdel; } set { isdel = value; } } public string GwCount { get; set; } public string FyCount { get; set; } } public class titleChunk { public int GroupNumber { get; set; } public string TeamName { get; set; } public decimal Tax { get; set; } public string Currency { get; set; } public decimal Rate { get; set; } } public class GroupCostModulePromptDto { public int UserId { get; set; } public int DiId { get; set; } /// /// 模块分类 /// 76 酒店预订 /// 77 行程 /// 79 车/导游地接 /// 80 签证 /// 81 邀请/公务活动 /// 82 团组客户保险 /// 85 机票预订 /// 98 其他款项 /// 285 收款退还 /// 751 酒店早餐 /// 1015 超支费用 /// public int CTable { get; set; } } public class HistoryCarDataDto { public string Param { get; set; } } public class HistoryCarDataView { public int id { get; set; } public string TeamName { get; set; } public decimal Price { get; set; } public string Area { get; set; } public string PriceName { get; set; } public string DatePrice { get; set; } public string PriceContent { get; set; } public string ServiceStartTime { get; set; } public string ServiceEndTime { get; set; } public DateTime? Start { get { if (DateTime.TryParse(this.ServiceStartTime, out DateTime time)) { return time; } return null; } } public DateTime? End { get { if (DateTime.TryParse(this.ServiceEndTime, out DateTime time)) { return time; } return null; } } } }