SUBD_PIbd-23_ZakharovRA/CarShowroom/CarShowroomDatabaseStorage/Entities/Client.cs

25 lines
608 B
C#
Raw Normal View History

2024-05-03 11:28:27 +04:00
using CarShowroomDataModels.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShowroomDatabaseStorage.Entities
{
public class Client : IClient
{
public int Id { get; set; }
public string Name { get; set; }
public string Email { get; set; }
public string Password { get; set; }
public Client(IClient client)
{
Id = client.Id;
Name = client.Name;
Email = client.Email;
Password = client.Password;
}
}
}