123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using DAL;
- namespace Models
- {
- /// <summary>
- /// 酒店预订费用多表联查类 - 用于Excel
- /// </summary>
- public class ViewHotelPay
- {
- string city;
- /// <summary>
- /// 城市
- /// </summary>
- public string City
- {
- get { return city; }
- set { city = value; }
- }
- string hotelName;
- /// <summary>
- /// 酒店名称
- /// </summary>
- public string HotelName
- {
- get { return hotelName; }
- set { hotelName = value; }
- }
- public string CheckType { get; set; }
- string name;
- /// <summary>
- /// 币种
- /// </summary>
- public string Name
- {
- get { return name; }
- set { name = value; }
- }
- float singleRoomPrice;
- /// <summary>
- /// 单间价格
- /// </summary>
- public float SingleRoomPrice
- {
- get { return singleRoomPrice; }
- set { singleRoomPrice = value; }
- }
- int singleRoomCount;
- /// <summary>
- /// 单间数
- /// </summary>
- public int SingleRoomCount
- {
- get { return singleRoomCount; }
- set { singleRoomCount = value; }
- }
- float doubleRoomPrice;
- /// <summary>
- /// 双间价格
- /// </summary>
- public float DoubleRoomPrice
- {
- get { return doubleRoomPrice; }
- set { doubleRoomPrice = value; }
- }
- int doubleRoomCount;
- /// <summary>
- /// 双间数
- /// </summary>
- public int DoubleRoomCount
- {
- get { return doubleRoomCount; }
- set { doubleRoomCount = value; }
- }
- float suiteRoomPrice;
- /// <summary>
- /// 套房价格
- /// </summary>
- public float SuiteRoomPrice
- {
- get { return suiteRoomPrice; }
- set { suiteRoomPrice = value; }
- }
- int suiteRoomCount;
- /// <summary>
- /// 套房数
- /// </summary>
- public int SuiteRoomCount
- {
- get { return suiteRoomCount; }
- set { suiteRoomCount = value; }
- }
- float otherRoomPrice;
- /// <summary>
- /// 其他房型价格
- /// </summary>
- public float OtherRoomPrice
- {
- get { return otherRoomPrice; }
- set { otherRoomPrice = value; }
- }
- int otherRoomCount;
- /// <summary>
- /// 其他房型数
- /// </summary>
- public int OtherRoomCount
- {
- get { return otherRoomCount; }
- set { otherRoomCount = value; }
- }
- float commission;
- /// <summary>
- /// 佣金
- /// </summary>
- public float Commission
- {
- get { return commission; }
- set { commission = value; }
- }
- float budget;
- /// <summary>
- /// 预算
- /// </summary>
- public float Budget
- {
- get { return budget; }
- set { budget = value; }
- }
- float payMoney;
- /// <summary>
- /// 付款金额 - RMB
- /// </summary>
- public float PayMoney
- {
- get { return payMoney; }
- set { payMoney = value; }
- }
- float spread;
- /// <summary>
- /// 差价
- /// </summary>
- public float Spread
- {
- get { return spread; }
- set { spread = value; }
- }
- float moneys;
- /// <summary>
- /// 费用
- /// </summary>
- public float Moneys
- {
- get { return moneys; }
- set { moneys = value; }
- }
- string dayRate;
- /// <summary>
- /// 当时汇率
- /// </summary>
- public string DayRate
- {
- get { return dayRate; }
- set { dayRate = value; }
- }
- string operatorDate;
- /// <summary>
- /// 时间
- /// </summary>
- public string OperatorDate
- {
- get { return operatorDate; }
- set { operatorDate = value; }
- }
- string checkInDate;
- /// <summary>
- /// 入住时间
- /// </summary>
- public string CheckInDate
- {
- get { return checkInDate; }
- set { checkInDate = value; }
- }
- string checkOutDate;
- /// <summary>
- /// 退房时间
- /// </summary>
- public string CheckOutDate
- {
- get { return checkOutDate; }
- set { checkOutDate = value; }
- }
- string isPay;
- /// <summary>
- /// 付款状态
- /// </summary>
- public string IsPay
- {
- get { return isPay; }
- set
- {
- if (value != null && value != "" && value == "0")
- isPay = "未付款";
- else if (value != null && value != "" && value == "1")
- isPay = "已付款";
- else
- isPay = "未付款";
- }
- }
- string payee;
- /// <summary>
- /// 费用标识
- /// </summary>
- public string Payee
- {
- get { return payee; }
- set { payee = value; }
- }
- string orbitalPrivateTransfer;
- /// <summary>
- /// 费用标识
- /// </summary>
- public string OrbitalPrivateTransfer
- {
- get { return orbitalPrivateTransfer; }
- set {
- if (value != null && value != "" && value == "0")
- orbitalPrivateTransfer = "公转";
- else if (value != null && value != "" && value == "1")
- orbitalPrivateTransfer = "私转";
- else
- orbitalPrivateTransfer = "未知";
- }
- }
- string payDid;
- /// <summary>
- /// 支付方式
- /// </summary>
- public string PayDid
- {
- get { return payDid; }
- set { payDid = value; }
- }
- string paydName;
- /// <summary>
- /// 支付方式(名称)
- /// </summary>
- public string PaydName
- {
- get { return paydName; }
- set { paydName = value; }
- }
- string operators;
- public string Operator
- {
- get { return operators; }
- set { operators = value;}
- }
- public float BreakfasePrice { get => breakfasePrice; set => breakfasePrice = value; }
- float breakfasePrice;
- public int IsMatchCreditCard { get; set; }
- /// <summary>
- /// 地税
- /// </summary>
- public decimal GovernmentRent { get; set; }
- /// <summary>
- /// 城市税
- /// </summary>
- public decimal CityTax { get; set; }
- /// <summary>
- /// 卡类型
- /// </summary>
- public string CarType { get; set; }
- }
- }
|