19 lines
496 B
C#
19 lines
496 B
C#
|
using HardwareShopDataModels.Models;
|
|||
|
using HardwareShopDataModels.Enums;
|
|||
|
using System.ComponentModel;
|
|||
|
|
|||
|
namespace HardwareShopDatabaseImplement.Models
|
|||
|
{
|
|||
|
public class User : IUserModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
public string Login { get; set; } = string.Empty;
|
|||
|
|
|||
|
public string Email { get; set; } = string.Empty;
|
|||
|
|
|||
|
public string Password { get; set; } = string.Empty;
|
|||
|
|
|||
|
public UserRole Role { get; set; } = UserRole.Неизвестен;
|
|||
|
}
|
|||
|
}
|