using FluentValidation;
using OASystem.Domain.ViewModels.Groups;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OASystem.Domain.Dtos.Groups
{
///
/// 酒店预定
/// item Dto
///
public class HotelReservationItemDto : UserPageFuncDtoBase
{
public int DiId { get; set; }
public int IsPaySign { get; set; }
}
///
/// 酒店预定
/// BasicsData Dto
///
public class HotelReservationBasicsDataInitDto : UserPageFuncDtoBase
{
public int DiId { get; set; }
}
///
/// 酒店预定
/// Details Dto
///
public class HotelReservationsDetailsDto : UserPageFuncDtoBase
{
public int DiId { get; set; }
public int Id { get; set; }
}
///
/// 酒店预定
/// Add Or Edit
///
public class HotelReservationsAddOrEditDto : UserPageFuncDtoBase
{
///
/// Id
/// Id == 0 Add Or Id > 0 Edit
///
public int Id { get; set; }
///
/// 团组Id
///
public int DiId { 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; }
///
/// 子表信息
///
public List Contents { get; set; }
///
/// C表付款信息 备注
///
public string? CcpRemark { get; set; }
}
///
/// 酒店预定
/// Del
///
public class HotelReservationsDelDto : UserPageFuncDtoBase
{
///
/// Id
///
public int Id { get; set; }
///
/// 团组Id
///
public int DiId { get; set; }
}
///
/// 酒店预订
/// 预订成本 excel 下载
///
public class HotelReservations_PCFD_DTO : UserPageFuncDtoBase
{
public int DiId { get; set; }
}
#region 酒店预订 预订成本 excel 下载 参数验证
public class HotelReservations_PCFD_DTOFoalidator : AbstractValidator
{
public HotelReservations_PCFD_DTOFoalidator()
{
RuleFor(it => it.DiId)
.GreaterThan(0)
.WithMessage($"请传入有效的用户DiId值");
}
}
#endregion
///
/// 酒店预订
/// 生成VOUCHER
///
public class HotelReservationsCreateVoucherDto : UserPageFuncDtoBase
{
public int DiId { get; set; }
public int Id { get; set; }
}
///
/// 酒店预订
/// 确认单
///
public class HotelReservationsConfirmationSlipDto : UserPageFuncDtoBase
{
public int DiId { get; set; }
}
#region 保留
public class HotelReservationsDto
{
///
/// 请求端口分类
/// 1 Web 2 Android 3 IOS
///
public int PortType { get; set; } = 1;
public int UserId { get; set; }
public int DiId { get; set; }
}
///
/// 根据团组查询酒店预订列表数据
///
public class HotelReservationsByDiIdDto: DtoBase
{
public int DiId { get; set; }
}
public class HotelReservationsByIdDto
{
public int Id { get; set; }
}
///
/// 编辑,新增参数
///
public class OpHotelReservationsData
{
///
/// 操作状态
/// 1 添加
/// 2 修改
///
public int Status { get; set; }
public int Id { get; set; }
///
/// 团组Id
///
public int DiId { get; set; }
///
/// 客人类型(设置数据外键编号)
///
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; }
///
/// 所在城市
///
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 string CheckInDate { get; set; }
///
/// 退房日期
///
public string CheckOutDate { get; set; }
///
/// 预算币种(设置数据外键编号)
///
public int BudgetCurrency { 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 int CardPriceCurrency { get; set; }
///
/// 信用卡金额
///
public decimal CardPrice { 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 decimal CityTax { get; set; }
///
/// 城市税币种
///
public int CityTaxCurrency { get; set; }
///
/// 房间入住人类型
///
public string CheckType { get; set; }
///
/// 创建者Id
///
public int CreateUserId { get; set; }
///
/// 表备注
///
public string Remark { get; set; }
//C表参数
///
/// 付款金额
///
public decimal PayMoney { get; set; }
///
/// 付款币种 数据类型Id
///
public int PaymentCurrency { get; set; }
///
/// 支付方式
///
public int PayDId { get; set; }
///
/// 消费方式
///
public string ConsumptionPatterns { get; set; }
///
/// 消费日期
///
public String ConsumptionDate { get; set; }
///
/// 卡类型
///
public int CTDId { get; set; }
///
/// 公司银行卡号
///
public string CompanyBankNo { get; set; }
///
/// 对方开户行
///
public string OtherBankName { get; set; }
///
/// 对方银行账号
///
public string OtherSideNo { get; set; }
///
/// 对方姓名
///
public string OtherSideName { get; set; }
///
/// 银行卡号
///
public string BankNo { get; set; }
///
/// 持卡人姓名
///
public string CardholderName { get; set; }
///
/// 收款方
///
public string Payee { get; set; }
///
/// 费用标识
///
public int OrbitalPrivateTransfer { get; set; }
///
/// C表备注
///
public string CRemark { get; set; }
}
public class HotelReservationsCNYDto
{
///
/// 类型ID
///
public int CTable { get; set; }
///
/// 团组Id
///
public int DiId { get; set; }
///
/// 信用卡金额
///
public decimal CardPrice { get; set; }
///
/// 信用卡金额币种
///
public int CardPriceCurrency { get; set; }
///
/// 地税
///
public decimal GovernmentRent { get; set; }
///
/// 地税币种
///
public int GovernmentRentCurrency { get; set; }
///
/// 城市税
///
public decimal CityTax { get; set; }
///
/// 城市税币种
///
public int CityTaxCurrency { get; set; }
}
#endregion
}