SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDataModels/Dtos/ServiceDto.cs
2024-05-05 22:02:53 +04:00

23 lines
521 B
C#

using CarShowroomContracts.AbstractModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomDataModels.Dtos
{
public class ServiceDto : IService
{
public int Id { get; set; }
public string Name { get; set; }
public int Cost { get; set; }
public ServiceDto(IService model)
{
Id = model.Id;
Name = model.Name;
Cost = model.Cost;
}
}
}