using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// EntityBasicInfo Data Structure. /// [Serializable] public class EntityBasicInfo : AopObject { /// /// (不带省市区)xx路xx地方xx号 或建筑物地址如:xx印象城/杭州萧山国际机场 /// [XmlElement("address_desc")] public string AddressDesc { get; set; } /// /// 芝麻借还规定的类目Code,充电宝固定传power_bank /// [XmlElement("category_code")] public string CategoryCode { get; set; } /// /// city /// [XmlElement("city")] public string City { get; set; } /// /// 电话-座机或手机 /// [XmlElement("contact_number")] public string ContactNumber { get; set; } /// /// 点位code /// [XmlElement("entity_code")] public string EntityCode { get; set; } /// /// 实体名称,借用实体的描述,如XX雨伞,XX充电宝,XX自行车 /// [XmlElement("entity_name")] public string EntityName { get; set; } /// /// latitude /// [XmlElement("latitude")] public string Latitude { get; set; } /// /// longitude /// [XmlElement("longitude")] public string Longitude { get; set; } /// /// xx:xx-xx:xx, 00:00-23:59 /// [XmlElement("office_hours_desc")] public string OfficeHoursDesc { get; set; } /// /// [1,2,3,4,5,6,7] 表示周一到周日 [1,3,5] 表示周一,周三,周五 /// [XmlArray("open_day")] [XmlArrayItem("string")] public List OpenDay { get; set; } /// /// province /// [XmlElement("province")] public string Province { get; set; } /// /// 免费时长 x (分钟) 不免费就返回null /// [XmlElement("rent_free_time")] public string RentFreeTime { get; set; } /// /// 封顶价格 x (元/天) 没有封顶价格就返回null /// [XmlElement("rent_max_price")] public string RentMaxPrice { get; set; } /// /// 租金信息描述的一部分,租金信息完整描述格式为: X元/YZ,其中X是 rent_price(单价),Y是rent_price_unit_cnt(租金单位个数),Z是rent_price_unit(租金单位),比如2元/30分钟,X是2,Y是30,Z是分钟 /// [XmlElement("rent_price")] public string RentPrice { get; set; } /// /// 租金信息描述的一部分,租金信息完整描述格式为: X元/YZ,其中X是 rent_price(单价),Y是rent_price_unit_cnt(租金单位个数),Z是rent_price_unit(租金单位),比如2元/30分钟,X是2,Y是30,Z是分钟 目前本字段支持的枚举为:HOUR/MINUTE /// [XmlElement("rent_price_unit")] public string RentPriceUnit { get; set; } /// /// 租金信息描述的一部分,租金信息完整描述格式为: X元/YZ,其中X是 rent_price(单价),Y是rent_price_unit_cnt(租金单位个数),Z是rent_price_unit(租金单位),比如2元/30分钟,X是2,Y是30,Z是分钟 /// [XmlElement("rent_price_unit_cnt")] public string RentPriceUnitCnt { get; set; } /// /// 区 /// [XmlElement("suburb")] public string Suburb { get; set; } } }