PIbd-42_Kashin_M.I_CPO_Cour.../EmployeeManagmentDataBaseImplement/Models/PhisicalPerson.cs
maksim 1ddd362ab7 Добавлены все файлы.
В некоторых файлах, основанных на интерфейсах, стоят заглушки.
Создана несколько экранов, которые также являются заглушками.
2024-11-12 22:10:44 +04:00

28 lines
852 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
{
[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; }
public DateTime Birthday { get; set; }
public string Gender { get; set; } = string.Empty;
public string Address { get; set; } = string.Empty;
public string Telephone { get; set; } = string.Empty;
// Связь с сотрудниками
public List<Employee>? Employees { get; set; }
}
}