using Chloe.Server.Models;
using Chloe.Server.Models.Components;

namespace Chloe.Server.Dtos
{
    public class ComponentDto
    {
        public ComponentDto(Component entity)
        {
            this.Id = entity.Id;
            this.Name = entity.Name;
        }

        public ComponentDto()
        {
            
        }

        public int Id { get; set; }
        public string Name { get; set; }
    }
}
