using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// PromoTool Data Structure. /// [Serializable] public class PromoTool : AopObject { /// /// 集点卡工具,仅在活动类型为POINT_SEND时才有效且必填,其他活动类型此字段必须为null /// [XmlElement("point_card")] public PointCard PointCard { get; set; } /// /// 奖品发放的规则 /// [XmlElement("send_rule")] public SendRule SendRule { get; set; } /// /// 单个营销工具的生效状态,当在招商部分券失效后会使用这个字段 /// [XmlElement("status")] public string Status { get; set; } /// /// 券对象,当活动类型为POINT_SEND时为null,其他活动类型此字段必填 /// [XmlElement("voucher")] public Voucher Voucher { get; set; } /// /// 营销工具uid,创建营销活动时无需设置 /// [XmlElement("voucher_no")] public string VoucherNo { get; set; } } }