using System; using System.Xml.Serialization; using System.Collections.Generic; namespace Aop.Api.Domain { /// /// AlipayMarketingCampaignDrawcampUpdateModel Data Structure. /// [Serializable] public class AlipayMarketingCampaignDrawcampUpdateModel : AopObject { /// /// 单用户以支付宝账号维度可参与当前营销活动的总次数,由开发者自定义此数值 /// [XmlElement("account_count")] public string AccountCount { get; set; } /// /// 以移动设备维度可参与当前营销活动的总次数,由开发者自定义此数值 /// [XmlElement("appid_count")] public string AppidCount { get; set; } /// /// 活动奖品总中奖几率,开发者需传入整数值,如:传入99支付宝默认为99% /// [XmlElement("award_rate")] public string AwardRate { get; set; } /// /// 活动结束时间,yyyy-MM-dd HH:00:00格式(到小时),需要大于活动开始时间 /// [XmlElement("camp_end_time")] public string CampEndTime { get; set; } /// /// 抽奖活动id,通过alipay.marketing.campaign.drawcamp.create接口返回 /// [XmlElement("camp_id")] public string CampId { get; set; } /// /// 活动名称,开发者自定义 /// [XmlElement("camp_name")] public string CampName { get; set; } /// /// 活动开始时间,yyyy-MM-dd HH:00:00格式(到小时),时间不能早于当前日期的0点 /// [XmlElement("camp_start_time")] public string CampStartTime { get; set; } /// /// 凭证验证规则id,通过alipay.marketing.campaign.cert.create 接口创建的凭证id /// [XmlElement("cert_rule_id")] public string CertRuleId { get; set; } /// /// 单用户以账户证件号(如身份证号、护照、军官证等)维度可参与当前营销活动的总次数,由开发者自定义此数值 /// [XmlElement("certification_count")] public string CertificationCount { get; set; } /// /// 圈人规则id,通过alipay.marketing.campaign.rule.crowd.create 接口创建的规则id /// [XmlElement("crowd_rule_id")] public string CrowdRuleId { get; set; } /// /// 以认证手机号(与支付宝账号绑定的手机号)维度的可参与当前营销活动的总次数,由开发者自定义此数值 /// [XmlElement("mobile_count")] public string MobileCount { get; set; } /// /// 开发者用于区分商户的唯一标识,由开发者自定义,用于区分是开发者名下哪一个商户的请求,为空则为默认标识 /// [XmlElement("mpid")] public string Mpid { get; set; } /// /// 奖品模型,至少有一个奖品模型 /// [XmlArray("prize_list")] [XmlArrayItem("mp_prize_info_model")] public List PrizeList { get; set; } /// /// 营销验证规则id,由支付宝配置 /// [XmlElement("promo_rule_id")] public string PromoRuleId { get; set; } /// /// 人群验证规则id,由支付宝配置 /// [XmlElement("user_rule_id")] public string UserRuleId { get; set; } } }