using System.Collections.Generic;
using System.Linq;
using UnityEngine.Scripting;

namespace ScrewsMaster
{
    public class exBrPoolModel : IDataList<exBrPool>
    {
        public List<exBrPool> dataList { get; set; }
        public List<string> config_name_list;
        public List<string> config_money_list;
        public exBrPool GetData(int id)
        {
            return dataList.FirstOrDefault(makeup => makeup.id == id);
        }
    }

    public class exBrPool
    {
        public int id;
        public string user_name;
        public string amount;
    }
        public class exBrPoolModel_2 : IDataList<exBrPool_2>
    {
        public List<exBrPool_2> dataList { get; set; }
        public List<string> config_name_list;
        public List<string> config_money_list;
        public exBrPool_2 GetData(int id)
        {
            return dataList.FirstOrDefault(makeup => makeup.id == id);
        }
    }

    public class exBrPool_2
    {
        public int id;
        public string user_name;
        public string amount;
    }
}