using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// EntityStatus Data Structure. /// [Serializable] public class EntityStatus : AopObject { /// /// 安卓是否可借 /// [XmlElement("android_can_borrow")] public bool AndroidCanBorrow { get; set; } /// /// 安卓可借用个数 /// [XmlElement("android_can_borrow_cnt")] public string AndroidCanBorrowCnt { get; set; } /// /// 是否可借 /// [XmlElement("can_borrow")] public bool CanBorrow { get; set; } /// /// 可借用个数 /// [XmlElement("can_borrow_cnt")] public string CanBorrowCnt { get; set; } /// /// 是否可还 true,false,null(未知) /// [XmlElement("can_restore")] public bool CanRestore { get; set; } /// /// 可还个数(可空),null表示未知,0表示可还0 /// [XmlElement("can_restore_cnt")] public string CanRestoreCnt { get; set; } /// /// 苹果是否可借 /// [XmlElement("ios_can_borrow")] public bool IosCanBorrow { get; set; } /// /// 苹果可借用个数 /// [XmlElement("ios_can_borrow_cnt")] public string IosCanBorrowCnt { get; set; } /// /// 当前是否开业(比如节假日或者临时有事,在固定的营业时间内,但是商户临时歇业了) /// [XmlElement("is_opening")] public bool IsOpening { get; set; } /// /// typec是否可借 /// [XmlElement("typec_can_borrow")] public bool TypecCanBorrow { get; set; } /// /// typec可借用个数 /// [XmlElement("typec_can_borrow_cnt")] public string TypecCanBorrowCnt { get; set; } } }