2023-11-29 20:58:13 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class BookViewModel {
|
|
|
|
|
|
|
|
|
|
public int? Id { get; set; }
|
|
|
|
|
[DisplayName("Название")]
|
|
|
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
|
[DisplayName("Автор")]
|
|
|
|
|
public string Author { get; set; } = string.Empty;
|
2023-12-12 16:23:04 +04:00
|
|
|
|
public string PicturePath { get; set; } = string.Empty;
|
2023-11-29 20:58:13 +04:00
|
|
|
|
[DisplayName("Дата публикации")]
|
|
|
|
|
public DateTime PublicationDate { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|