using System.Text.Json.Serialization;

namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
    /// <summary>
    /// DishRecommend Data Structure.
    /// </summary>
    public class DishRecommend : AlipayObject
    {
        /// <summary>
        /// 购买可能性/商品热度得分  若type=CART_RECOMAND or DESIGN_FOR_YOU；则 buy_posibility有返回，内容为商品热度得分。  若type= ASSOCIATION_RECOMAND；则 buy_posibility有返回，内容为购买可能性。  若type=QUICK_ORDER；则 buy_posibility无返回。
        /// </summary>
        [JsonPropertyName("buy_posibility")]
        public string BuyPosibility { get; set; }

        /// <summary>
        /// 菜品ID
        /// </summary>
        [JsonPropertyName("dish_id")]
        public string DishId { get; set; }

        /// <summary>
        /// 菜品名称
        /// </summary>
        [JsonPropertyName("dish_name")]
        public string DishName { get; set; }

        /// <summary>
        /// 10
        /// </summary>
        [JsonPropertyName("dish_num")]
        public string DishNum { get; set; }

        /// <summary>
        /// 1234
        /// </summary>
        [JsonPropertyName("dish_skuid")]
        public string DishSkuid { get; set; }

        /// <summary>
        /// 推荐理由对应的CODE
        /// </summary>
        [JsonPropertyName("info_code")]
        public string InfoCode { get; set; }
    }
}
