using System; using System.Xml.Serialization; namespace Aop.Api.Domain { /// /// DiscountDstCampPrizeModel Data Structure. /// [Serializable] public class DiscountDstCampPrizeModel : AopObject { /// /// 预算id,商户先调预算创建接口得到预算id,传入 /// [XmlElement("budget_id")] public string BudgetId { get; set; } /// /// 折扣幅度必须为0.1到1之间的小数(保留小数点后2位) /// [XmlElement("discount_rate")] public string DiscountRate { get; set; } /// /// 奖品id 修改传值 ,新增可以不传 /// [XmlElement("id")] public string Id { get; set; } /// /// 单次优惠上限(元),单笔上限金额只能填写数字,大于等于0,小数点后最多2位,整数部分不能超过10位 /// [XmlElement("max_discount_amt")] public string MaxDiscountAmt { get; set; } } }