13 lines
448 B
C#
13 lines
448 B
C#
namespace MidrandBookshop.Models;
|
|
|
|
public class BookItem
|
|
{
|
|
public long Id { get; set; } // Refactored to hold unique record indices of type long
|
|
public string Title { get; set; } = string.Empty;
|
|
public string Author { get; set; } = string.Empty;
|
|
public decimal Price { get; set; }
|
|
public string Category { get; set; } = string.Empty;
|
|
public bool IsNew { get; set; }
|
|
public string Isbn { get; set; } = string.Empty;
|
|
}
|