using System; using System.Collections.Generic; using System.Linq; using System.Web; namespace BLWWS { public class ResultAAA { public string code { get; set; } public string message { get; set; } } public class PMSEntity { public GroupOrder groupOrder { get; set; } public string trackingId { get; set; } /// /// 推送的数据类型,字典见 4.1推送数据类型 /// public string type { get; set; } } public class GroupOrder { public int chainId { get; set; } public int hotelCode { get; set; } public int orderId { get; set; } public List orderItems { get; set; } public string reserveEmail { get; set; } public string reserveMemberNo { get; set; } public string reserveName { get; set; } public string reserveTel { get; set; } } public class OrderItem { public string channelName { get; set; } public string checkInTime { get; set; } public string checkOutTime { get; set; } public List guests { get; set; } /// /// 换房前的房间号 /// public string oldRoomNo { get; set; } public int orderItemId { get; set; } public string price { get; set; } /// /// roomNo /// public string roomNo { get; set; } public int roomTypeCode { get; set; } public string roomTypeName { get; set; } /// /// 订单状态, 字典见 4.2 /// public int state { get; set; } } public class Guest { public string birthDate { get; set; } public string carLicense { get; set; } public string email { get; set; } public string gender { get; set; } public string guestId { get; set; } public string idCardNo { get; set; } public string idCardType { get; set; } public string memberNo { get; set; } public string name { get; set; } public string oldCardNo { get; set; } public string tel { get; set; } } public enum DicType { 直接入住=0, 预定转入住=4, 结账退房=5, 续住=6, 换房=7, 取消入住=11, 未结账退房=13 } }