SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDataModels/Dtos/ClientDto.cs

24 lines
549 B
C#
Raw Normal View History

2024-05-03 10:27:07 +04:00
using CarShowroomDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2024-05-05 22:02:53 +04:00
namespace CarShowroomDataModels.Dtos
2024-05-03 10:27:07 +04:00
{
public class ClientDto : IClient
{
public int Id { get; set; }
public string Name { get; set; }
2024-05-05 21:21:25 +04:00
public string PhoneNumber { get; set; }
2024-05-03 10:27:07 +04:00
public ClientDto(IClient model)
{
Id = model.Id;
Name = model.Name;
2024-05-05 21:21:25 +04:00
PhoneNumber = model.PhoneNumber;
2024-05-12 21:44:49 +04:00
}
public ClientDto() {}
}
2024-05-03 10:27:07 +04:00
}