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