NewGaoKaoApi/PaymentSDK/AliPay/Domain/KmsBakingPromotionDTO.cs

145 lines
4.6 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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