26 lines
634 B
C#
26 lines
634 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace demko6.Models;
|
|||
|
|
|||
|
public partial class Employee
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
public int RoleId { get; set; }
|
|||
|
|
|||
|
public string Name { get; set; } = null!;
|
|||
|
|
|||
|
public string Login { get; set; } = null!;
|
|||
|
|
|||
|
public string Password { get; set; } = null!;
|
|||
|
|
|||
|
public DateTime? LastLogin { get; set; }
|
|||
|
|
|||
|
public virtual ICollection<EmployeeService> EmployeeServices { get; set; } = new List<EmployeeService>();
|
|||
|
|
|||
|
public virtual ICollection<Order> Orders { get; set; } = new List<Order>();
|
|||
|
|
|||
|
public virtual Role Role { get; set; } = null!;
|
|||
|
}
|