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