using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// OpenPromoPrize Data Structure.
///
[Serializable]
public class OpenPromoPrize : AopObject
{
///
/// 消费门槛设置,单位元
///
[XmlElement("prize_base_rule_amount")]
public string PrizeBaseRuleAmount { get; set; }
///
/// 商户增加的自定义菜单内容,包括菜单名称,详情页标题。JSON串形式上传
///
[XmlArray("prize_custom_menu")]
[XmlArrayItem("prize_custom_menu")]
public List PrizeCustomMenu { get; set; }
///
/// 奖品详情说明,默认和活动详情相同
///
[XmlElement("prize_desc")]
public string PrizeDesc { get; set; }
///
/// ISV提供素材中心的图片ID
///
[XmlElement("prize_detail_img")]
public string PrizeDetailImg { get; set; }
///
/// 周期性使用时段规则
///
[XmlArray("prize_dimension_time")]
[XmlArrayItem("open_promo_prize_dimension")]
public List PrizeDimensionTime { get; set; }
///
/// 券指定可用有效结束日期,和相对可用时间互斥
///
[XmlElement("prize_end_time")]
public string PrizeEndTime { get; set; }
///
/// ISV提供素材中心的图片ID,建议尺寸120*120,默认为空
///
[XmlElement("prize_logo")]
public string PrizeLogo { get; set; }
///
/// 奖品名称,默认和活动名称相同
///
[XmlElement("prize_name")]
public string PrizeName { get; set; }
///
/// 券相可用对时间,和指定可用时间互斥。
///
[XmlElement("prize_relative_time")]
public OpenPromoPrizeRelativeTime PrizeRelativeTime { get; set; }
///
/// 券指定可用开始时间,和相对可用时间互斥
///
[XmlElement("prize_start_time")]
public string PrizeStartTime { get; set; }
///
/// 券副标题
///
[XmlElement("prize_subtitle")]
public string PrizeSubtitle { get; set; }
///
/// 店铺数据,支持多条
///
[XmlArray("prize_suitable_shops")]
[XmlArrayItem("string")]
public List PrizeSuitableShops { get; set; }
///
/// 券模板有效结束日期,默认和活动结束时间相同
///
[XmlElement("prize_template_end_time")]
public string PrizeTemplateEndTime { get; set; }
///
/// 券模板有效起始日期,默认和活动开始时间相同
///
[XmlElement("prize_template_start_time")]
public string PrizeTemplateStartTime { get; set; }
///
/// 商家自定义使用须知内容,按条传入。JSON串形式上传,最多6条,每条最多100字
///
[XmlArray("prize_terms")]
[XmlArrayItem("string")]
public List PrizeTerms { get; set; }
///
/// 奖品类型,现在支持VOUCHER_TICKET:表示代金券
///
[XmlElement("prize_type")]
public string PrizeType { get; set; }
///
/// 抵扣金额,单位元。
///
[XmlElement("prize_worth_amount")]
public string PrizeWorthAmount { get; set; }
}
}