using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
///
/// KmsBakingPromotionDTO Data Structure.
///
[Serializable]
public class KmsBakingPromotionDTO : AopObject
{
///
/// 活动限制
///
[XmlElement("activity_limitation")]
public ActivityLimitationDTO ActivityLimitation { get; set; }
///
/// 可用日志,周一、周二、周三、周四、周五、周六、周日。 枚举值: Monday、Tuesday、Wednesday、Thursday、Friday、Saturday、Sunday 如果有多个,用英文逗号连接。
///
[XmlElement("available_date")]
public string AvailableDate { get; set; }
///
/// 可用时段结束时间,格式HH:mm:ss
///
[XmlElement("available_end_time")]
public string AvailableEndTime { get; set; }
///
/// 可用时段开始时间,格式HH:mm:ss
///
[XmlElement("available_start_time")]
public string AvailableStartTime { get; set; }
///
/// 表示这条数据的唯一id,主要用于后续同步了重复数据以后去重,或者用于修复之前同步的问题数据。 建议生成规则:根据shop_id+promotion_id+operate_name+operate_time生成hash值
///
[XmlElement("data_id")]
public string DataId { get; set; }
///
/// 营销说明
///
[XmlElement("description")]
public string Description { get; set; }
///
/// 营销结束时间;格式yyyy-MM-dd HH:mm:ss
///
[XmlElement("end_time")]
public string EndTime { get; set; }
///
/// 营销互斥,取值范围为Y/N
///
[XmlElement("exclusive")]
public string Exclusive { get; set; }
///
/// 满折营销
///
[XmlElement("full_discount")]
public FullDiscountDTO FullDiscount { get; set; }
///
/// 满赠营销
///
[XmlElement("full_gift")]
public FullGiftDTO FullGift { get; set; }
///
/// 满减营销
///
[XmlElement("full_reduction")]
public FullReductionDTO FullReduction { get; set; }
///
/// 会员营销,枚举值:Y/N
///
[XmlElement("member_promotion")]
public string MemberPromotion { get; set; }
///
/// 操作;上架或下架 上架:upshelf;下架:offshelf
///
[XmlElement("operation_name")]
public string OperationName { get; set; }
///
/// 操作时间,格式:yyyy-MM-dd HH:mm:ss
///
[XmlElement("operation_time")]
public string OperationTime { get; set; }
///
/// 营销渠道,取值范围为线上/线下/全渠道 线上:online;线下:offline;全渠道:allchannel;
///
[XmlElement("promotion_channel")]
public string PromotionChannel { get; set; }
///
/// 营销id
///
[XmlElement("promotion_id")]
public string PromotionId { get; set; }
///
/// 营销名称
///
[XmlElement("promotion_name")]
public string PromotionName { get; set; }
///
/// 营销范围,取值范围为单品/全场 单品:single;全场:fullcourt;
///
[XmlElement("promotion_scope")]
public string PromotionScope { get; set; }
///
/// 营销类型,取值范围为满减/满折/特价/满赠/充值, 满减:fullreduction;满折:fulldiscount;特价:specialprice;满赠:fullgift;充值: recharge
///
[XmlElement("promotion_type")]
public string PromotionType { get; set; }
///
/// 充值营销
///
[XmlElement("recharge")]
public RechargeDTO Recharge { get; set; }
///
/// 特价营销
///
[XmlElement("special_price")]
public SpecialPriceDTO SpecialPrice { get; set; }
///
/// 营销开始时间;格式yyyy-MM-dd HH:mm:ss
///
[XmlElement("start_time")]
public string StartTime { get; set; }
}
}