You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
namespace BlazorApp1.Models
|
|
{
|
|
public class Item
|
|
{
|
|
public Item(int id, string displayName, string name, int stackSize, int stack, int maxDurability, List<string> enchantCategories, List<string> repairWith, DateTime createdDate, DateTime? updatedDate, string imageBase64)
|
|
{
|
|
Id = id;
|
|
DisplayName = displayName;
|
|
Name = name;
|
|
StackSize = stackSize;
|
|
Stack = stack;
|
|
MaxDurability = maxDurability;
|
|
EnchantCategories = enchantCategories;
|
|
RepairWith = repairWith;
|
|
CreatedDate = createdDate;
|
|
UpdatedDate = updatedDate;
|
|
ImageBase64 = imageBase64;
|
|
}
|
|
|
|
public Item() {}
|
|
|
|
public int Id { get; set; }
|
|
public string DisplayName { get; set; }
|
|
public string Name { get; set; }
|
|
public int StackSize { get; set; }
|
|
public int Stack { get; set; } = 1;
|
|
public int MaxDurability { get; set; }
|
|
public List<string> EnchantCategories { get; set; }
|
|
public List<string> RepairWith { get; set; }
|
|
public DateTime CreatedDate { get; set; }
|
|
public DateTime? UpdatedDate { get; set; }
|
|
public string ImageBase64 { get; set; }
|
|
}
|
|
}
|