namespace Baza_Reklam.Classes.Model
{
    public class SubscriptionType
    {
        private readonly int _id;
        private int _titleId;
        private string _name;
        private decimal _pricePln;
        private decimal _priceEur;

        public SubscriptionType(int id, int titleId, string name, decimal pricePln, decimal priceEur)
        {
            _id = id;
            _titleId = titleId;
            _priceEur = priceEur;
            _pricePln = pricePln;
            _name = name;
        }

        public decimal PriceEur
        {
            get { return _priceEur; }
            set { _priceEur = value; }
        }

        public decimal PricePln
        {
            get { return _pricePln; }
            set { _pricePln = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public int Id
        {
            get { return _id; }
        }

        public int TitleId
        {
            get { return _titleId; }
            set { _titleId = value; }
        }
    }
}