17 lines
523 B
C#
17 lines
523 B
C#
using System.ComponentModel;
|
|
|
|
namespace SushiBarContracts.ViewModels
|
|
{
|
|
public class ShopViewModel
|
|
{
|
|
[DisplayName("Номер")]
|
|
public int Id { get; set; }
|
|
[DisplayName("Название магазина")]
|
|
public string ShopName { get; set; } = string.Empty;
|
|
[DisplayName("Адрес")]
|
|
public string Address { get; set; } = string.Empty;
|
|
[DisplayName("Дата открытия")]
|
|
public DateTime DateCreate { get; set; } = DateTime.Now;
|
|
}
|
|
}
|