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.

201 lines
4.8 KiB
C#

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 Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace POSV.OtherWaiMai
{
public class ShopMeituanWaiMaiOrderInfoByiddetailResponse
{
//==================================private==================================
#region field
//erp方菜品id,等价于eDishCode
private string app_food_code;
//菜品名称
private string food_name;
//菜品份数
private decimal quantity;
//价格,菜品原价
private decimal price;
//餐盒数量,例如一份菜A需要1个餐盒订单中点了2份菜A餐盒数量为2
private decimal box_num;
//餐盒单价
private decimal box_price;
//单位
private string unit;
//菜品折扣
private decimal food_discount;
//erp方菜品sk
private string sku_id;
//菜品属性
private string food_property;
//菜品规格
private string spec;
#endregion
//==================================public==================================
/// <summary>
/// erp方菜品id,等价于eDishCode
/// </summary>
[JsonProperty(PropertyName = "cart_id")]
public int Cart_id { get; set; }
#region app_food_code erp方菜品id,等价于eDishCode
[JsonProperty(PropertyName = "app_food_code")]
/// <summary>
/// erp方菜品id,等价于eDishCode
/// <summary>
public string App_food_code
{
get { return app_food_code; }
set { app_food_code = value; }
}
#endregion
#region food_name 菜品名称
[JsonProperty(PropertyName = "food_name")]
/// <summary>
/// 菜品名称
/// <summary>
public string Food_name
{
get { return food_name; }
set { food_name = value; }
}
#endregion
#region quantity 菜品份数
[JsonProperty(PropertyName = "quantity")]
/// <summary>
/// 菜品份数
/// <summary>
public decimal Quantity
{
get { return quantity; }
set { quantity = value; }
}
#endregion
#region price 价格,菜品原价
[JsonProperty(PropertyName = "price")]
/// <summary>
/// 价格,菜品原价
/// <summary>
public decimal Price
{
get { return price; }
set { price = value; }
}
#endregion
#region box_num 餐盒数量,例如一份菜A需要1个餐盒订单中点了2份菜A餐盒数量为2
[JsonProperty(PropertyName = "box_num")]
/// <summary>
/// 餐盒数量,例如一份菜A需要1个餐盒订单中点了2份菜A餐盒数量为2
/// <summary>
public decimal Box_num
{
get { return box_num; }
set { box_num = value; }
}
#endregion
#region box_price 餐盒单价
[JsonProperty(PropertyName = "box_price")]
/// <summary>
/// 餐盒单价
/// <summary>
public decimal Box_price
{
get { return box_price; }
set { box_price = value; }
}
#endregion
#region unit 单位
[JsonProperty(PropertyName = "unit")]
/// <summary>
/// 单位
/// <summary>
public string Unit
{
get { return unit; }
set { unit = value; }
}
#endregion
#region food_discount 菜品折扣
[JsonProperty(PropertyName = "food_discount")]
/// <summary>
/// 菜品折扣
/// <summary>
public decimal Food_discount
{
get { return food_discount; }
set { food_discount = value; }
}
#endregion
#region sku_id erp方菜品sk
[JsonProperty(PropertyName = "sku_id")]
/// <summary>
/// erp方菜品sk
/// <summary>
public string Sku_id
{
get { return sku_id; }
set { sku_id = value; }
}
#endregion
#region food_property 菜品属性
[JsonProperty(PropertyName = "food_property")]
/// <summary>
/// 菜品属性
/// <summary>
public string Food_property
{
get { return food_property; }
set { food_property = value; }
}
#endregion
#region spec 菜品规格
[JsonProperty(PropertyName = "spec")]
/// <summary>
/// 菜品规格
/// <summary>
public string Spec
{
get { return spec; }
set { spec = value; }
}
#endregion
}
}