36 lines
784 B
C#
36 lines
784 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace dmeo040225.Models;
|
|
|
|
public partial class User
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public int RoleId { get; set; }
|
|
|
|
public string Fio { get; set; } = null!;
|
|
|
|
public string Login { get; set; } = null!;
|
|
|
|
public string Password { get; set; } = null!;
|
|
|
|
public DateTime? Lastlogin { get; set; }
|
|
|
|
public bool Logorno { get; set; }
|
|
|
|
public string? Codeclient { get; set; }
|
|
|
|
public string? Passport { get; set; }
|
|
|
|
public DateTime? Birthday { get; set; }
|
|
|
|
public string? Adress { get; set; }
|
|
|
|
public string? Photopath { get; set; }
|
|
|
|
public virtual ICollection<Order> Orders { get; set; } = new List<Order>();
|
|
|
|
public virtual Role Role { get; set; } = null!;
|
|
}
|