26 lines
561 B
C#
26 lines
561 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace shoe_store.Models;
|
|
|
|
public partial class User
|
|
{
|
|
public int IdUsers { get; set; }
|
|
|
|
public string Login { get; set; } = null!;
|
|
|
|
public string Password { get; set; } = null!;
|
|
|
|
public int RoleId { get; set; }
|
|
|
|
public string Surname { get; set; } = null!;
|
|
|
|
public string Name { get; set; } = null!;
|
|
|
|
public string? Patronymic { get; set; }
|
|
|
|
public virtual ICollection<Order> Orders { get; set; } = new List<Order>();
|
|
|
|
public virtual Role Role { get; set; } = null!;
|
|
}
|