NewGaoKaoApi/PaymentSDK/AliPay/Domain/KbdishVirtualCatetorySimpli...

47 lines
1.4 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>
/// KbdishVirtualCatetorySimplifyInfo Data Structure.
/// </summary>
[Serializable]
public class KbdishVirtualCatetorySimplifyInfo : AopObject
{
/// <summary>
/// 虚拟类目的名称
/// </summary>
[XmlElement("catetory_name")]
public string CatetoryName { get; set; }
/// <summary>
/// 虚拟类目的排序值需要保证为数字类型如果不填默认为1
/// </summary>
[XmlElement("catetory_sort")]
public string CatetorySort { get; set; }
/// <summary>
/// 虚拟类目关联的菜品信息
/// </summary>
[XmlArray("dish_list")]
[XmlArrayItem("kbdish_virtual_dish_simplify_info")]
public List<KbdishVirtualDishSimplifyInfo> DishList { get; set; }
/// <summary>
/// 外部门店id的list
/// </summary>
[XmlArray("out_shop_ids")]
[XmlArrayItem("string")]
public List<string> OutShopIds { get; set; }
/// <summary>
/// 菜品在菜谱中的售卖时间同一个out_dish_id都指定的情况下以第一个为准
/// </summary>
[XmlArray("time_ranges")]
[XmlArrayItem("string")]
public List<string> TimeRanges { get; set; }
}
}