using System;
using System.Xml.Serialization;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
///
/// MerchantOnlineActivityOpenModel Data Structure.
///
[Serializable]
public class MerchantOnlineActivityOpenModel : AopObject
{
///
/// 活动Id
///
[XmlElement("activity_id")]
public string ActivityId { get; set; }
///
/// 营销活动Id
///
[XmlElement("camp_id")]
public string CampId { get; set; }
///
/// 活动优惠次数限制
///
[XmlElement("count_limit")]
public long CountLimit { get; set; }
///
/// 活动优惠单日次数限制
///
[XmlElement("count_limit_per_day")]
public long CountLimitPerDay { get; set; }
///
/// 活动单用户限次
///
[XmlElement("count_limit_per_user")]
public long CountLimitPerUser { get; set; }
///
/// 活动单用户单日限次
///
[XmlElement("count_limit_per_user_per_day")]
public long CountLimitPerUserPerDay { get; set; }
///
/// 人群规则 DEFAULT:全部用户 ONLINE_NEWCOMER:在线购买新人 MEMBER:会员
///
[XmlElement("crowd")]
public string Crowd { get; set; }
///
/// 代金券面额
///
[XmlElement("deduct_amount")]
public string DeductAmount { get; set; }
///
/// 外部Id
///
[XmlElement("external_unique_id")]
public string ExternalUniqueId { get; set; }
///
/// 活动结束时间 格式为:yyyy-MM-dd HH:mm:ss
///
[XmlElement("gmt_end")]
public string GmtEnd { get; set; }
///
/// 活动开始时间,格式为:yyyy-MM-dd HH:mm:ss
///
[XmlElement("gmt_start")]
public string GmtStart { get; set; }
///
/// 商品列表
///
[XmlArray("item_ids")]
[XmlArrayItem("string")]
public List ItemIds { get; set; }
///
/// 备注
///
[XmlElement("memo")]
public string Memo { get; set; }
///
/// 使用门槛,满X元可用,使用门槛必须大于券面额
///
[XmlElement("min_cost")]
public string MinCost { get; set; }
///
/// 是否手动领取,本期只支持true
///
[XmlElement("obtain_manually")]
public bool ObtainManually { get; set; }
///
/// 券信息
///
[XmlElement("voucher_info")]
public MerchantActivityVoucherInfo VoucherInfo { get; set; }
}
}