using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UP_Session1_Belov.Models
{
    internal class FilterModel
    {
        int id;
        double firstRange;
        double secondRange;
        string name;

        public FilterModel(int id, double firstRange, double secondRange, string name)
        {
            this.id = id;
            this.firstRange = firstRange;
            this.secondRange = secondRange;
            this.name = name;
        }

        public int Id { get { return id; } set { id = value; } }

        public double FirstRange { get => firstRange; set => firstRange = value; }
        public double SecondRange { get => secondRange; set => secondRange = value; }
        public string Name { get => name; set => name = value; }
    }
}
