25 lines
626 B
C#
25 lines
626 B
C#
using CarShowroomDataModels.Models;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CarShowroomDatabaseStorage.Entities
|
|
{
|
|
public class Employee : IEmployee
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; }
|
|
public string Email { get; set; }
|
|
public string Password { get; set; }
|
|
public Employee(IEmployee employee)
|
|
{
|
|
Id = employee.Id;
|
|
Name = employee.Name;
|
|
Email = employee.Email;
|
|
Password = employee.Password;
|
|
}
|
|
}
|
|
}
|