Computer_Hardware_Store/HardwareShop/HardwareShopDatabaseImplement/Models/User.cs

19 lines
496 B
C#
Raw Normal View History

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.Неизвестен;
}
}