using System; using System.Xml.Serialization; namespace Top.Api.Domain { /// /// ProductPropImg Data Structure. /// [Serializable] public class ProductPropImg : TopObject { /// /// 添加时间.格式:yyyy-mm-dd hh:mm:ss /// [XmlElement("created")] public string Created { get; set; } /// /// 产品属性图片ID /// [XmlElement("id")] public long Id { get; set; } /// /// 修改时间.格式:yyyy-mm-dd hh:mm:ss /// [XmlElement("modified")] public string Modified { get; set; } /// /// 图片序号。产品里的图片展示顺序,数据越小越靠前。要求是正整数。 /// [XmlElement("position")] public long Position { get; set; } /// /// 图片所属产品的ID /// [XmlElement("product_id")] public long ProductId { get; set; } /// /// 属性串(pid:vid),目前只有颜色属性.如:颜色:红色表示为 1627207:28326 /// [XmlElement("props")] public string Props { get; set; } /// /// 图片地址.(绝对地址,格式:http://host/image_path) /// [XmlElement("url")] public string Url { get; set; } } }