using System.Collections.Generic;
using System.Linq;

namespace ScrewsMaster
{
    public class MakeupModel : IDataList<Makeup>
    {
        public List<Makeup> dataList { get; set; }

        public Makeup GetData(int id)
        {
            return dataList.FirstOrDefault(makeup => makeup.id == id);
        }

    }

    public class Makeup
    {
        public int id;
        public decimal redeem_num;
        public int require_time;
        public int task_need;
        public bool is_onetime;

        public int ad_need;
        public int levels_need;

        public int item;
        public int redeem_ID;
        public int redeem_BR;
        public int redeem_TH;
        public int item_need;
        public string desc;
        public int AD_Down;
        public int AD_CD;
        public int AD_Limit_times;
        public int Login_Limit_times;
        public int Active_time;
        public int Active_time_Down;
        public int Active_Limit_times;
    }
        public class MakeupModel_2 : IDataList<Makeup_2>
    {
        public List<Makeup_2> dataList { get; set; }

        public Makeup_2 GetData(int id)
        {
            return dataList.FirstOrDefault(makeup => makeup.id == id);
        }

    }

    public class Makeup_2
    {
        public int id;
        public int item_need;
        public bool is_onetime;
        public int task_need;
        public int ad_need;
        public int item;
        public int levels_need;
        public int AD_Down;
        public int AD_Limit_times;
        public int Login_Limit_times;
        public int Active_time;
        public int Active_time_Down;
        public int Active_Limit_times;
        public int Reset_time;
        public float ADIncrease;
        public int PayIncrease;
    }
}