|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
namespace POSV.Card
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// OrderItem数据说明
|
|
|
/// </summary>
|
|
|
[Serializable]
|
|
|
[JsonObject(MemberSerialization.OptIn)]
|
|
|
public class MeiTuanOrderListDetail
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
/// erp方菜品id,等价于eDishCode
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "app_food_code")]
|
|
|
public string App_food_code { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 餐盒数量,例如一份菜A需要1个餐盒,订单中点了2份菜A,餐盒数量为2
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "box_num")]
|
|
|
public decimal Box_num { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 餐盒单价
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "box_price")]
|
|
|
public decimal Box_price { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 菜品名称
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "food_name")]
|
|
|
public string Food_name { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 价格,菜品原价
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "price")]
|
|
|
public decimal Price { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// erp方菜品sk
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "sku_id")]
|
|
|
public string Sku_id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 菜品份数
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "quantity")]
|
|
|
public string Quantity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 单位
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "unit")]
|
|
|
public string Unit { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 规格
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "spec")]
|
|
|
public string Spec { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 做法
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "food_property")]
|
|
|
public string Food_property { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// erp方菜品id,等价于eDishCode
|
|
|
/// </summary>
|
|
|
[JsonProperty(PropertyName = "cart_id")]
|
|
|
public int Cart_id { get; set; }
|
|
|
|
|
|
}
|
|
|
}
|