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

25 lines
608 B
C#

using CarShowroomDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomDataModels.Dtos
{
public class EmployeeDto : IEmployee
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public EmployeeDto(IEmployee model)
{
Id = model.Id;
Name = model.Name;
Email = model.Email;
Password = model.Password;
}
}
}