using System; using System.Xml.Serialization; using System.Collections.Generic; using Aop.Api.Domain; namespace Aop.Api.Response { /// /// KoubeiCateringDishMenuQueryResponse. /// public class KoubeiCateringDishMenuQueryResponse : AopResponse { /// /// 菜谱背景图片id /// [XmlElement("bg_image")] public string BgImage { get; set; } /// /// 菜谱类目列表 /// [XmlElement("category_list")] public KbdishCategorySimplifyInfo CategoryList { get; set; } /// /// 菜谱名称 /// [XmlElement("cook_name")] public string CookName { get; set; } /// /// 时间区间日期结束 /// [XmlElement("end_date")] public string EndDate { get; set; } /// /// 时间区间截止 闭区间 /// [XmlElement("end_time")] public string EndTime { get; set; } /// /// 外部门店id列表 /// [XmlArray("out_shop_id")] [XmlArrayItem("string")] public List OutShopId { get; set; } /// /// 时间约束类型 forever:永久; week:按周,每周周几 month:按月,每月几号 /// [XmlElement("period_type")] public string PeriodType { get; set; } /// /// 时间控制值,如果选的week, 值 1,2,3,4 ; 如果选择month,值 1,11; 如果选择永久,为空 /// [XmlElement("period_value")] public string PeriodValue { get; set; } /// /// 控制的日期区间开始 /// [XmlElement("start_date")] public string StartDate { get; set; } /// /// 时间控制 到分 闭区间 /// [XmlElement("start_time")] public string StartTime { get; set; } /// /// 菜谱状态,open:启用,stop:停用 /// [XmlElement("status")] public string Status { get; set; } } }