SUBD_SushiBar/SushiBar/SushiBarContracts/ViewModels/CookViewModel.cs

32 lines
868 B
C#

using SushiBarDataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SushiBarContracts.ViewModels
{
public class CookViewModel : ICookModel
{
public int Id { get; set; }
[DisplayName("Имя повара")]
public string CookName { get; set; } = string.Empty;
[DisplayName("Фамилия повара")]
public string CookSurname { get; set; } = string.Empty;
[DisplayName("Опыт работы")]
public int Experience { get; set; }
[DisplayName("Номер телефона")]
public string PhoneNumber { get; set; } = string.Empty;
[DisplayName("Номер паспорта")]
public string Passport { get; set; } = string.Empty;
}
}