using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.ViewModels.Groups
{
#region 酒店预定 新 View
///
/// 酒店预定
/// Items View
///
public class HotelReservationsItemsView
{
///
/// Number
///
public int Row_Number { get; set; }
public int Id { get; set; }
//public int DiId { get; set; }
///
/// 客人类型
///
public string? GuestType { get; set; }
///
/// 预定号
///
public string? ReservationsNo { get; set; }
///
/// 酒店名称
///
public string? HotelName { get; set; }
///
/// 入住时间
///
public string CheckInDate { get; set; }
///
/// 离店时间
///
public string CheckOutDate { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
/////
///// 付款币种 Id
/////
//public int PaymentCurrency { get; set; }
///
/// 付款币种Code
///
public string? PayCurrency { get; set; }
/////
///// 创建人Id
/////
//public int CreateUserId { get; set; }
///
/// 创建人姓名
///
public string? CreateUserName { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 总经理审核状态
/// 0 未审核 1 已审核 2 未通过 4自动审核
///
public int IsAuditGM { get; set; }
///
/// 总经理审核状态
/// 0 未审核 1 已审核 2 未通过 4 自动审核
///
public string IsAuditGMStr { get {
string? auditStatus = " - ";
if (IsAuditGM == 0) auditStatus = "未审核";
else if (IsAuditGM == 1) auditStatus = "已审核";
else if(IsAuditGM == 2) auditStatus = "未通过";
else if (IsAuditGM == 3) auditStatus = "自动审核";
return auditStatus;
} }
public int IsPay { get; set; }
}
///
/// 酒店预定
/// Details View
///
public class HotelReservationsDetailsView
{
public int Id { get; set; }
///
/// 客人类型 Id (设置数据外键编号)
///
public int GTId { get; set; }
///
/// 入住卷号
///
public string? CheckNumber { get; set; }
///
/// 预订网站(设置数据外键编号)
///
public int ReservationsWebsite { get; set; }
///
/// 预订号码
///
public string? ReservationsNo { get; set; }
///
/// 确认号码
///
public string? DetermineNo { get; set; }
///
/// 区域Id
///
public int AreaId { get; set; }
///
/// 城市
///
public string? City { get; set; }
///
/// 酒店名称
///
public string? HotelName { get; set; }
///
/// 酒店电话
///
public string? HotelTel { get; set; }
///
/// 酒店地址
///
public string? HotelAddress { get; set; }
///
/// 客户名称
///
public string? GuestName { get; set; }
///
/// 入住时间
///
public string? CheckInDate { get; set; }
///
/// 离店时间
///
public string? CheckOutDate { get; set; }
///
/// 房间入住人类型(设置数据外键编号)
///
public int CheckType { get; set; }
///
/// 房间说明
///
public string? RoomExplanation { get; set; }
///
/// 酒店备注
///
public string? HotelRemark { get; set; }
///
/// 单间价格
///
public decimal SingleRoomPrice { get; set; }
///
/// 单间数量
///
public int SingleRoomCount { get; set; }
///
/// 双间价格
///
public decimal DoubleRoomPrice { get; set; }
///
/// 双间数量
///
public int DoubleRoomCount { get; set; }
///
/// 套房价格
///
public decimal SuiteRoomPrice { get; set; }
///
/// 套房数量
///
public int SuiteRoomCount { get; set; }
///
/// 其他房间价格
///
public decimal OtherRoomPrice { get; set; }
///
/// 其他房间数量
///
public int OtherRoomCount { get; set; }
///
/// 信用卡金额
///
public decimal CardPrice { get; set; }
///
/// 信用卡币种
///
public int CardPriceCurrency { get; set; }
/////
///// 是否由地接支付
///// 0 否 1 是
/////
//public int Isoppay { get; set; }
/////
///// 早餐价格
/////
//public decimal BreakfastPrice { get; set; }
/////
///// 早餐币种 (设置数据外键编号)
/////
//public int BreakfastCurrency { get; set; }
/////
///// 地税
/////
//public decimal GovernmentRent { get; set; }
/////
///// 地税币种 (设置数据外键编号)
/////
//public int GovernmentRentCurrency { get; set; }
/////
///// 城市税
/////
//public decimal CityTax { get; set; }
/////
///// 城市税币种 (设置数据外键编号)
/////
//public int CityTaxCurrency { get; set; }
/////
///// 支付方式 (设置数据外键编号)
/////
//public int PayDId { get; set; }
/////
///// 消费方式
/////
//public string? ConsumptionPatterns { get; set; }
/////
///// 消费日期
/////
//public string? ConsumptionDate { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种 (设置数据外键编号)
///
public int PaymentCurrency { get; set; }
/////
///// 银行卡号
/////
//public string? BankNo { get; set; }
/////
///// 持卡人姓名
/////
//public string? CardholderName { get; set; }
/////
///// 公司银行账号
/////
//public string? CompanyBankNo { get; set; }
/////
///// 对方开户行
/////
//public string? OtherBankName { get; set; }
/////
///// 对方银行账号
/////
//public string? OtherSideNo { get; set; }
/////
///// 对方姓名
/////
//public string? OtherSideName { get; set; }
/////
///// 收款方
/////
//public string? Payee { get; set; }
/////
///// 费用标识 (设置数据外键编号)
/////
//public int OrbitalPrivateTransfer { get; set; }
///
/// C表付款信息 备注
///
public string? CcpRemark { get; set; }
public List Contents { get; set; }
}
public class HotelReservationsContnetDetailsView
{
public int Id { get; set; }
public int DiId { get; set; }
public int HrId { get; set; }
///
/// 费用类型
/// 1:房费
/// 2:早餐
/// 3:地税
/// 4:城市税
///
public int PriceType { get; set; }
///
/// 费用
///
public decimal Price { get; set; }
///
/// 币种
///
public int Currency { get; set; }
///
/// 汇率
///
public decimal Rate { get; set; }
///
/// 由地接支付
/// 0 否 1是
///
public int IsOppay { get; set; }
///
/// 支付方式
///
public int PayDId { get; set; } = 1;
///
/// 消费方式
///
public string ConsumptionPatterns { get; set; }
///
/// 消费日期
///
public string ConsumptionDate { get; set; }
///
/// 卡类型
///
public int CTDId { get; set; }
///
/// 银行卡号
///
public string BankNo { get; set; }
///
/// 持卡人姓名
///
public string CardholderName { get; set; }
///
/// 公司银行卡号
///
public string CompanyBankNo { get; set; }
///
/// 对方开户行
///
public string OtherBankName { get; set; }
///
/// 对方银行账号
///
public string OtherSideNo { get; set; }
///
/// 对方姓名
///
public string OtherSideName { get; set; }
///
/// 收款方
///
public string Payee { get; set; }
///
/// 费用标识
/// 0 公转 1 私转
///
public int OrbitalPrivateTransfer { get; set; } = 0;
}
///
/// 酒店Voucher Info
///
public class HotelVoucherInfoView
{
///
/// 酒店名称
///
public string? HotelName { get; set; }
///
/// 入住时间
///
public string? CheckInDate { get; set; }
///
/// 离店时间
///
public string? CheckOutDate { get; set; }
///
/// 房间类型
///
public string? RoomType { get; set; }
///
/// 确认号
///
public string? ConfirmationNumber { get; set; }
}
///
/// 酒店预订
/// 生成 预定成本 Excel
///
public class HotelReservations_PCFD_View
{
///
/// 城市地区
///
public string City { get; set; }
///
/// 酒店名称
///
public string HotelName { get; set; }
///
/// 时间
/// checkInDate - CheckInOut
///
public string Date { get; set; }
///
/// 单间单价
///
public string SingleRoomPrice { get; set; }
///
/// 双间单价
///
public string DoubleRoomPrice { get; set; }
///
/// 套房单价
///
public string SuiteRoomPrice { get; set; }
///
/// 其他房型单价
///
public string OtherRoomPrice { get; set; }
///
/// 早餐费
///
public string BreakfastPrice { get; set; }
///
/// 城市税
///
public string CityTax { get; set; }
///
/// 地税
///
public string GovernmentRent { get; set; }
///
/// 消费说明
///
public string RoomExplanation { get; set; }
///
/// 消费方式
///
public string ConsumptionPatterns { get; set; }
///
/// 支付方式
///
public string PayTypeName { get; set; }
///
/// 支付时间
///
public string PayTime { get; set; }
///
/// 银行账号
///
public string BankNo { get; set; }
///
/// 付款金额
///
public string PayMoney { get; set; }
///
/// 行用卡金额
///
public string CardPrice { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
#endregion
#region 保留
///
/// 根据diid查询酒店费用列表
///
public class HotelReservationsByDiIdView
{
///
/// 酒店主键Id
///
public int Id { get; set; }
///
/// 客人类型
///
public string GuestType { get; set; }
///
/// 预订编号
///
public string ReservationsNo { get; set; }
///
/// 酒店名称
///
public string HotelName { get; set; }
///
/// 入住日期
///
public string CheckInDate { get; set; }
///
/// 离店日期
///
public string CheckOutDate { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种
///
public string PaymentCurrency { get; set; }
///
/// 创建人Id
///
public string CreateUserName { get; set; }
///
/// 操作时间
///
public DateTime CreateTime { get; set; }
///
/// 总经理是否审核
///
public int IsAuditGM { get; set; }
///
/// 总经理是否审核
///
public string IsAuditGMStr { get; set; }
///
/// 附件地址
///
public string Attachment { get; set; }
}
///
/// 根据id查询酒店费用详情返回view
///
public class HotelReservationsByIdView
{
public int Id { get; set; }
///
/// 团组Id
///
public int DiId { get; set; }
///
/// 客人类型(设置数据外键编号)
///
public int GTId { get; set; }
///
/// 客人类型文本
///
public string GtIdStr { get; set; }
///
/// 入住卷号码
///
public string CheckNumber { get; set; }
///
/// 预订网站(设置数据外键编号)
///
public int ReservationsWebsite { get; set; }
///
/// 预订号码
///
public string ReservationsNo { get; set; }
///
/// 酒店确定编号
///
public string DetermineNo { get; set; }
///
/// 所在城市
///
public string City { get; set; }
///
/// 酒店名称
///
public string HotelName { get; set; }
///
/// 酒店地址
///
public string HotelAddress { get; set; }
///
/// 酒店电话
///
public string HotelTel { get; set; }
///
/// 客人姓名
///
public string GuestName { get; set; }
///
/// 预算币种(设置数据外键编号)
///
public int BudgetCurrency { get; set; }
///
/// 预算币种(设置数据外键编号)
///
public string BudgetCurrencyStr { get; set; }
///
/// 入住日期
///
public string CheckInDate { get; set; }
///
/// 退房日期
///
public string CheckOutDate { get; set; }
///
/// 单间数量
///
public int SingleRoomCount { get; set; }
///
/// 单间单价
///
public decimal SingleRoomPrice { get; set; }
///
/// 双间数量
///
public int DoubleRoomCount { get; set; }
///
/// 双间单价
///
public decimal DoubleRoomPrice { get; set; }
///
/// 套房数量
///
public int SuiteRoomCount { get; set; }
///
/// 套房单价
///
public decimal SuiteRoomPrice { get; set; }
///
/// 其他房型数量
///
public int OtherRoomCount { get; set; }
///
/// 其他房型单价
///
public decimal OtherRoomPrice { get; set; }
///
/// 房间说明
///
public string RoomExplanation { get; set; }
///
/// 附件地址
///
public string Attachment { get; set; }
///
/// 信用卡金额
///
public decimal CardPrice { get; set; }
///
/// 信用卡币种
///
public int CardPriceCurrency { get; set; }
///
/// 确认标识 信用卡金额
/// 0:未刷(红色) 1:已刷(绿色)
///
public int IsCardPrice { get; set; }
///
/// 预计单间数量
///
public int PredictSingleRoom { get; set; }
///
/// 预计双人间数量
///
public int PredictDoubleRoom { get; set; }
///
/// 预计套房数量
///
public int PredictSuiteRoom { get; set; }
///
/// 预计其他间数量
///
public int PredictOtherRoom { get; set; }
///
/// 地税
///
public decimal GovernmentRent { get; set; }
///
/// 地税币种
///
public int GovernmentRentCurrency { get; set; }
///
/// 地税币种文本
///
public string GovernmentRentCurrencyStr { get; set; }
///
/// 城市税
///
public decimal CityTax { get; set; }
///
/// 城市税币种
///
public int CityTaxCurrency { get; set; }
///
/// 城市税币种文本
///
public string CityTaxCurrencyStr { get; set; }
///
/// 房间入住人类型
///
public string CheckType { get; set; }
///
/// 房间入住人类型文本描述
///
public string CheckTypeStr { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 根据id查询酒店费用C表的数据
///
public class Grp_CreditCardView
{
///
/// 支付方式
///
public int PayDId { get; set; }
///
/// 支付方式文本
///
public string PayDIdStr { get; set; }
///
/// 消费方式
///
public string ConsumptionPatterns { get; set; }
///
/// 消费日期
///
public string ConsumptionDate { get; set; }
///
/// 卡类型
///
public int CTDId { get; set; }
///
/// 卡类型文本
///
public string CTDIdStr { get; set; }
///
/// 银行卡号
///
public string BankNo { get; set; }
///
/// 持卡人姓名
///
public string CardholderName { get; set; }
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种 数据类型Id
///
public int PaymentCurrency { get; set; }
///
/// 付款币种 文本
///
public string PaymentCurrencyStr { get; set; }
///
/// 当天汇率
///
public decimal DayRate { get; set; }
///
/// 公司银行卡号
///
public string CompanyBankNo { get; set; }
///
/// 对方开户行
///
public string OtherBankName { get; set; }
///
/// 对方银行账号
///
public string OtherSideNo { get; set; }
///
/// 对方姓名
///
public string OtherSideName { get; set; }
///
/// 总经理是否审核 0 未审核 1已通过 2未通过
///
public int IsAuditGM { get; set; }
///
/// 收款方
///
public string Payee { get; set; }
///
/// 人民币费用
///
public decimal RMBPrice { get; set; }
///
/// 费用标识
///
public int OrbitalPrivateTransfer { get; set; }
///
/// 费用标识文本
///
public int OrbitalPrivateTransferStr { get; set; }
///
/// 备注
///
public string Remark { get; set; }
}
///
/// 返回付款金额
///
public class HotelReservationsView
{
public decimal Price { get; set; }
public int CurrencyId { get; set; }
public string CurrencyName { get; set; }
}
#endregion
}