NewGaoKaoApi/PaymentSDK/AliPay/Domain/KbdishPropertyInfo.cs

45 lines
1.5 KiB
C#
Raw Permalink 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;
using System.Collections.Generic;
namespace Aop.Api.Domain
{
/// <summary>
/// KbdishPropertyInfo Data Structure.
/// </summary>
[Serializable]
public class KbdishPropertyInfo : AopObject
{
/// <summary>
/// “属性最多可选数”默认为1与“属性最少可选数”同时为空或同时非空不能为0数值不能大于销售属性值的数量即property_value_info_list的长度
/// </summary>
[XmlElement("max_count_limit")]
public string MaxCountLimit { get; set; }
/// <summary>
/// “属性最少可选数”默认为1与“属性最多可选数”同时为空或同时非空不能为0数值不能大于“属性最多可选数”
/// </summary>
[XmlElement("min_count_limit")]
public string MinCountLimit { get; set; }
/// <summary>
/// 菜品属性名称
/// </summary>
[XmlElement("property_name")]
public string PropertyName { get; set; }
/// <summary>
/// 菜品销售属性属性值模型
/// </summary>
[XmlArray("property_value_info_list")]
[XmlArrayItem("kbdish_property_value_info")]
public List<KbdishPropertyValueInfo> PropertyValueInfoList { get; set; }
/// <summary>
/// 菜品属性排序字段从1一直递增到4
/// </summary>
[XmlElement("sort")]
public string Sort { get; set; }
}
}