using EmployeeManagmentDataModels.Models; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EmployeeManagmentDataBaseImplement.Models { public class PhisicalPerson : IPhisicalPerson { [Key] public int Id { get; set; } [Required] public string Name { get; set; } = string.Empty; [Required] public string Surname { get; set; } = string.Empty; public string? Patronymic { get; set; } [Required] public DateTime Birthday { get; set; } [Required] public string Gender { get; set; } = string.Empty; [Required] public string Address { get; set; } = string.Empty; [Required] public string Telephone { get; set; } = string.Empty; public List Employees { get; set; } = new(); } }