NewGaoKaoApi/PaymentSDK/AliPay/Domain/PosSkuModel.cs

55 lines
1.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>
/// PosSkuModel Data Structure.
/// </summary>
[Serializable]
public class PosSkuModel : AopObject
{
/// <summary>
/// 餐盒费,除了删除,其他情况必传
/// </summary>
[XmlElement("box_price")]
public string BoxPrice { get; set; }
/// <summary>
/// sku的销售价格除了删除其他情况必传
/// </summary>
[XmlElement("sell_price")]
public string SellPrice { get; set; }
/// <summary>
/// sku的ID更新和删除的时候必传 更新时如果新增了sku不用传
/// </summary>
[XmlElement("sku_id")]
public string SkuId { get; set; }
/// <summary>
/// sku的排序字段除了删除其他情况必传
/// </summary>
[XmlElement("sku_sort")]
public long SkuSort { get; set; }
/// <summary>
/// 菜品规格的ID如果是默认规格可以不填其余情况除了删除都需要填
/// </summary>
[XmlElement("spec_code_01")]
public string SpecCode01 { get; set; }
/// <summary>
/// 规格的名字
/// </summary>
[XmlElement("spec_name_01")]
public string SpecName01 { get; set; }
/// <summary>
/// sku的状态除了删除其他情况必传 open 启动 stop 停用
/// </summary>
[XmlElement("status")]
public string Status { get; set; }
}
}