using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.OtherWaiMai
{
///
/// 订单优惠
///
[Serializable]
[JsonObject(MemberSerialization.OptIn)]
public class BaiduOrderDiscount
{
///
/// 优惠类型
///
[JsonProperty(PropertyName = "type")]
public string Type { get; set; }
///
/// 优惠金额 单位:分
///
[JsonProperty(PropertyName = "fee")]
public int Fee { get; set; }
///
/// 活动ID
///
[JsonProperty(PropertyName = "activity_id")]
public string Activity_id { get; set; }
///
/// 百度承担金额
///
[JsonProperty(PropertyName = "baidu_rate")]
public int Baidu_rate { get; set; }
///
/// 商户承担金额
///
[JsonProperty(PropertyName = "shop_rate")]
public int Shop_rate { get; set; }
///
/// 代理商承担金额
///
[JsonProperty(PropertyName = "agent_rate")]
public int Agent_rate { get; set; }
///
/// 物流承担金额
///
[JsonProperty(PropertyName = "logistics_rate")]
public int Logistics_rate { get; set; }
///
/// 优惠描述
///
[JsonProperty(PropertyName = "desc")]
public string Desc { get; set; }
///
/// 特价菜(单品)
///
[JsonProperty(PropertyName = "products")]
public List Products { get; set; }
}
}