using System;
using System.Xml.Serialization;
using System.Collections.Generic;
using Top.Api;
namespace DingTalk.Api.Response
{
///
/// OapiAlitripBtripHotelOrderSearchResponse.
///
public class OapiAlitripBtripHotelOrderSearchResponse : DingTalkResponse
{
///
/// 错误码
///
[XmlElement("errcode")]
public long Errcode { get; set; }
///
/// 错误信息
///
[XmlElement("errmsg")]
public string Errmsg { get; set; }
///
/// 酒店订单列表
///
[XmlArray("module")]
[XmlArrayItem("open_hotel_order_rs")]
public List Module { get; set; }
///
/// 分页相关信息
///
[XmlElement("page_info")]
public PageInfoRsDomain PageInfo { get; set; }
///
/// 成功标识
///
[XmlElement("success")]
public bool Success { get; set; }
///
/// OpenCostCenterDoDomain Data Structure.
///
[Serializable]
public class OpenCostCenterDoDomain : TopObject
{
///
/// 企业id
///
[XmlElement("corpid")]
public string Corpid { get; set; }
///
/// 商旅成本中心id
///
[XmlElement("id")]
public long Id { get; set; }
///
/// 成本中心名称
///
[XmlElement("name")]
public string Name { get; set; }
///
/// 成本中心编号
///
[XmlElement("number")]
public string Number { get; set; }
}
///
/// OpenInvoiceDoDomain Data Structure.
///
[Serializable]
public class OpenInvoiceDoDomain : TopObject
{
///
/// 商旅发票id
///
[XmlElement("id")]
public long Id { get; set; }
///
/// 发票类型:1:增值税普通发票 2:增值税专用发票
///
[XmlElement("invoice_type")]
public long InvoiceType { get; set; }
///
/// 发票抬头
///
[XmlElement("title")]
public string Title { get; set; }
}
///
/// OpenPriceInfoDomain Data Structure.
///
[Serializable]
public class OpenPriceInfoDomain : TopObject
{
///
/// 交易类型(作废)
///
[XmlElement("category")]
public string Category { get; set; }
///
/// 交易类目编码
///
[XmlElement("category_code")]
public long CategoryCode { get; set; }
///
/// 交易类目类型1-飞机,2-酒店,3-火车,4-用车
///
[XmlElement("category_type")]
public long CategoryType { get; set; }
///
/// 流水创建时间
///
[XmlElement("gmt_create")]
public string GmtCreate { get; set; }
///
/// 入住人信息,多个用‘,’分割
///
[XmlElement("passenger_name")]
public string PassengerName { get; set; }
///
/// 结算方式:1个人现付,2:企业现付,4:企业月结,8企业预存
///
[XmlElement("pay_type")]
public long PayType { get; set; }
///
/// 价格
///
[XmlElement("price")]
public string Price { get; set; }
///
/// 流水单号
///
[XmlElement("tradeId")]
public string TradeId { get; set; }
///
/// 资金流向:1:支出,2:收入
///
[XmlElement("type")]
public long Type { get; set; }
}
///
/// OpenUserAffiliateDoDomain Data Structure.
///
[Serializable]
public class OpenUserAffiliateDoDomain : TopObject
{
///
/// 入住人名称
///
[XmlElement("user_name")]
public string UserName { get; set; }
///
/// 入住人ID
///
[XmlElement("userid")]
public string Userid { get; set; }
}
///
/// OpenHotelOrderRsDomain Data Structure.
///
[Serializable]
public class OpenHotelOrderRsDomain : TopObject
{
///
/// 商旅申请单id
///
[XmlElement("apply_id")]
public long ApplyId { get; set; }
///
/// 申请单名称
///
[XmlElement("btrip_title")]
public string BtripTitle { get; set; }
///
/// 入住时间
///
[XmlElement("check_in")]
public string CheckIn { get; set; }
///
/// 离店时间
///
[XmlElement("check_out")]
public string CheckOut { get; set; }
///
/// 酒店所在城市
///
[XmlElement("city")]
public string City { get; set; }
///
/// 联系人姓名
///
[XmlElement("contact_name")]
public string ContactName { get; set; }
///
/// 企业名称
///
[XmlElement("corp_name")]
public string CorpName { get; set; }
///
/// 企业id
///
[XmlElement("corpid")]
public string Corpid { get; set; }
///
/// 成本中心对象
///
[XmlElement("cost_center")]
public OpenCostCenterDoDomain CostCenter { get; set; }
///
/// 部门名称
///
[XmlElement("dept_name")]
public string DeptName { get; set; }
///
/// 部门id
///
[XmlElement("deptid")]
public string Deptid { get; set; }
///
/// 创建时间
///
[XmlElement("gmt_create")]
public string GmtCreate { get; set; }
///
/// 更新时间
///
[XmlElement("gmt_modified")]
public string GmtModified { get; set; }
///
/// 入住顾客,多个用','分割
///
[XmlElement("guest")]
public string Guest { get; set; }
///
/// 酒店名称
///
[XmlElement("hotel_name")]
public string HotelName { get; set; }
///
/// 酒店开票支持类型:11 仅支持增值税普通发票 12 支持增值税专用发票和增值税普通发票
///
[XmlElement("hotel_support_vat_invoice_type")]
public long HotelSupportVatInvoiceType { get; set; }
///
/// 订单id
///
[XmlElement("id")]
public long Id { get; set; }
///
/// 发票对象
///
[XmlElement("invoice")]
public OpenInvoiceDoDomain Invoice { get; set; }
///
/// 总共住几晚
///
[XmlElement("night")]
public long Night { get; set; }
///
/// 订单状态
///
[XmlElement("order_status")]
public long OrderStatus { get; set; }
///
/// 订单状态描述
///
[XmlElement("order_status_desc")]
public string OrderStatusDesc { get; set; }
///
/// 订单类型
///
[XmlElement("order_type")]
public long OrderType { get; set; }
///
/// 订单类型描述
///
[XmlElement("order_type_desc")]
public string OrderTypeDesc { get; set; }
///
/// 价目详情列表
///
[XmlArray("price_info_list")]
[XmlArrayItem("open_price_info")]
public List PriceInfoList { get; set; }
///
/// 项目code
///
[XmlElement("project_code")]
public string ProjectCode { get; set; }
///
/// 项目id
///
[XmlElement("project_id")]
public long ProjectId { get; set; }
///
/// 项目名称
///
[XmlElement("project_title")]
public string ProjectTitle { get; set; }
///
/// 房间数
///
[XmlElement("room_num")]
public long RoomNum { get; set; }
///
/// 房型
///
[XmlElement("room_type")]
public string RoomType { get; set; }
///
/// 第三方项目id
///
[XmlElement("thirdpart_Project_Id")]
public string ThirdpartProjectId { get; set; }
///
/// 第三方申请单ID
///
[XmlElement("thirdpart_apply_id")]
public string ThirdpartApplyId { get; set; }
///
/// 第三方行程id
///
[XmlElement("thirdpart_itinerary_id")]
public string ThirdpartItineraryId { get; set; }
///
/// 入住人列表
///
[XmlArray("user_affiliate_list")]
[XmlArrayItem("open_user_affiliate_do")]
public List UserAffiliateList { get; set; }
///
/// 用户名称
///
[XmlElement("user_name")]
public string UserName { get; set; }
///
/// 用户id
///
[XmlElement("userid")]
public string Userid { get; set; }
}
///
/// PageInfoRsDomain Data Structure.
///
[Serializable]
public class PageInfoRsDomain : TopObject
{
///
/// 当前页
///
[XmlElement("page")]
public long Page { get; set; }
///
/// 每页大小
///
[XmlElement("page_size")]
public long PageSize { get; set; }
///
/// 总记录数
///
[XmlElement("total_number")]
public long TotalNumber { get; set; }
}
}
}