PIbd-21_BatylkinaAO_MusoevD.../Canteen/CanteenContracts/ViewModels/CookViewModel.cs

29 lines
854 B
C#
Raw Normal View History

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;
public int ClientId { get; set; }
public int Id { get; set; }
}
}