using ElectroShop.DAL.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ElectroShop.Models
{
    public class ElectronicComponentCathegoryModel
    {
        public ElectronicComponentCathegoryModel()
        {

        }

        public ElectronicComponentCathegoryModel(ElectronicComponentCathegory electronicComponentCathegory)
        {
            this.Id = electronicComponentCathegory.Id;
            this.Name = electronicComponentCathegory.Name;
            this.ParametersNames = electronicComponentCathegory.ParametersNames;
        }

        public int Id { get; set; }

        public string Name { get; set; }

        public string ParametersNames { get; set; }
    }
}
