2023-04-06 14:34:58 +04:00
|
|
|
|
using CanteenDataModels.Models;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CanteenContracts.View
|
|
|
|
|
{
|
|
|
|
|
public class CookViewModel : ICookModel
|
|
|
|
|
{
|
|
|
|
|
[DisplayName("Имя")]
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Фамилия")]
|
|
|
|
|
public string Surname { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Отчество")]
|
|
|
|
|
public string? Patronymic { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Дата рождения")]
|
|
|
|
|
public DateTime DateOfBirth { get; set; }
|
|
|
|
|
[DisplayName("Должность")]
|
|
|
|
|
public string Position { get; set; } = string.Empty;
|
|
|
|
|
|
2023-04-07 10:55:40 +04:00
|
|
|
|
public int ManagerId { get; set; }
|
2023-04-06 14:34:58 +04:00
|
|
|
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|