using System.Collections.Generic; namespace Wizard.Scripts.Network.Data.TaskData.SkinPurchase; public class SkinProductInfo { private List _rewardInfoList = new List(); public int product_id { get; set; } public string description { get; set; } public int leader_skin_id { get; set; } public string cv_name { get; set; } public bool is_purchased { get; set; } public ShopCommonSaleInfo saleInfo { get; set; } public List rewardInfoList => _rewardInfoList; public bool IsEnableBuyTicket { get { if (!saleInfo.costTicket.HasValue || !saleInfo.haveTicketNum.HasValue) { return false; } if (saleInfo.costTicket.Value > 0) { return saleInfo.haveTicketNum.Value > 0; } return false; } } }