using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicCarpetDatabase.Models; internal class Employee { public required string Id { get; set; } public required string FIO { get; set; } public required string PostId { get; set; } public string? Email { get; set; } public DateTime BirthDate { get; set; } public DateTime EmploymentDate { get; set; } public bool IsDeleted { get; set; } [ForeignKey("EmployeeId")] public List? Salaries { get; set; } [ForeignKey("EmployeeId")] public List? Sales { get; set; } }