using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// RecResultInfo Data Structure. /// [Serializable] public class RecResultInfo : AopObject { /// /// 错误码 NO_REC_ITEMS 无推荐服务 NO_ENOUGH_ITEMS 推荐数量不合法 /// [XmlElement("code")] public string Code { get; set; } /// /// 推荐ITEM /// [XmlArray("items")] [XmlArrayItem("rec_item_info")] public List Items { get; set; } /// /// 错误消息,如果成功则为空 /// [XmlElement("msg")] public string Msg { get; set; } /// /// 推荐结果 /// [XmlElement("position_id")] public string PositionId { get; set; } /// /// 是否成功 /// [XmlElement("success")] public bool Success { get; set; } } }