You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.8 KiB
C#

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