using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// StockTaskResult Data Structure. /// [Serializable] public class StockTaskResult : AopObject { /// /// 售价方式:CPP(按人次保量)、CPT(按时长售卖) /// [XmlElement("charge_type")] public long ChargeType { get; set; } /// /// 库存任务创建时间 /// [XmlElement("query_time")] public string QueryTime { get; set; } /// /// 售卖方式,枚举值1:GD(保量)、2:RTB(竞价) /// [XmlElement("sell_mode")] public long SellMode { get; set; } /// /// 库存查询量 /// [XmlArray("stock_quantity")] [XmlArrayItem("stock_quantity")] public List StockQuantity { get; set; } /// /// 库存任务查询条件 /// [XmlElement("stock_query_condition")] public StockQueryCondition StockQueryCondition { get; set; } /// /// 任务id /// [XmlElement("task_id")] public long TaskId { get; set; } /// /// 单价:CPP模式下 分/千人次, CPT模式下 分/秒) /// [XmlElement("unit_price")] public long UnitPrice { get; set; } } }