24 lines
667 B
C#
24 lines
667 B
C#
|
using BookShopDataModels.Models;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
|
|||
|
namespace BookShopContracts.BindingModels
|
|||
|
{
|
|||
|
public class BookBindingModel : IBookModel
|
|||
|
{
|
|||
|
public int Id { get; set; }
|
|||
|
[DisplayName("Название")]
|
|||
|
public string Name { get; set; } = string.Empty;
|
|||
|
[DisplayName("Стоимость")]
|
|||
|
public double Cost { get; set; }
|
|||
|
[DisplayName("Количество")]
|
|||
|
public int Count { get; set; }
|
|||
|
[DisplayName("Жанр")]
|
|||
|
public int GenreId { get; set; }
|
|||
|
}
|
|||
|
}
|