using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WebServer { public class SendInfo { public string key { get; set; } = "blw_ws@2015"; public string code { get; set; } = "1003"; public string roomNumber { get; set; } = "8888"; public DateTime checkInDate { get; set; } = DateTime.Now; //public string xmlString { get; set; } public string phoneNumber { get; set; } = "17382103504"; public string idNumber { get; set; } = "430426200012218692"; //public ref string errorMsg; //public ref long checkInID; } public class UserInfo{ public int idtype { get; set; } = 0; public string idcard { get; set; } = "430426200012218692"; public string customer { get; set; } = "小希-测试"; public string sex { get; set; } = "男"; public int country { get; set; } = 0; public DateTime checkindate { get; set; } = DateTime.Now; public string photoUrl { get; set; } = "https://tse2-mm.cn.bing.net/th/id/OIP-C.akJryYF6stcwSb5-Wgs2kQHaLG?pid=ImgDet&rs=1"; } public class SendUserInfo { public string key { get; set; } = "blw_ws@2015"; public string code { get; set; } = "1003"; public long checkInID { get; set; } public int idtype { get; set; } = 0; public string idcard { get; set; } = "430426200012218692"; public string name { get; set; } = "小希-测试"; public int sex { get; set; } = 0; public DateTime birthday { get; set; } = DateTime.Now; public string photoUrl { get; set; } public byte[] photo { get; set; } = null; } public class CheckOutInfo { public string key { get; set; } = "blw_ws@2015"; public string code { get; set; } = "1003"; public string roomNumber { get; set; } = "8888"; public DateTime checkOutDate { get; set; } = DateTime.Now; } }