kursovaya/Models/User.cs

24 lines
569 B
C#
Raw Normal View History

2025-04-11 10:14:28 +00:00
using System;
using System.Collections.Generic;
namespace kursovaya.Models;
public partial class User
{
public int Id { get; set; }
public string Login { get; set; } = null!;
public string Password { get; set; } = null!;
public string Email { get; set; } = null!;
public int RoleId { get; set; }
public virtual Role Role { get; set; } = null!;
public virtual ICollection<Student> Students { get; set; } = new List<Student>();
public virtual ICollection<Teacher> Teachers { get; set; } = new List<Teacher>();
}