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.
73 lines
2.2 KiB
73 lines
2.2 KiB
// --------------------------------------------------------------------------------------------------------------------
|
|
// <copyright file="InventoryController.cs" company="UCA Clermont-Ferrand">
|
|
// Copyright (c) UCA Clermont-Ferrand All rights reserved.
|
|
// </copyright>
|
|
// --------------------------------------------------------------------------------------------------------------------
|
|
|
|
namespace Minecraft.Crafting.Api.Models
|
|
{
|
|
/// <summary>
|
|
/// The item.
|
|
/// </summary>
|
|
public class Item
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="Item"/> class.
|
|
/// </summary>
|
|
public Item()
|
|
{
|
|
EnchantCategories = new List<string>();
|
|
RepairWith = new List<string>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets or sets the created date.
|
|
/// </summary>
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the display name.
|
|
/// </summary>
|
|
public string DisplayName { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the enchant categories.
|
|
/// </summary>
|
|
public List<string> EnchantCategories { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the identifier.
|
|
/// </summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the image base64.
|
|
/// </summary>
|
|
public string ImageBase64 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the maximum durability.
|
|
/// </summary>
|
|
public int MaxDurability { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name.
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the repair with.
|
|
/// </summary>
|
|
public List<string> RepairWith { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the size of the stack.
|
|
/// </summary>
|
|
public int StackSize { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the updated date.
|
|
/// </summary>
|
|
public DateTime? UpdatedDate { get; set; }
|
|
}
|
|
} |