Traveller/scripts/database/dataPackEntity/ItemInfo.cs

26 lines
719 B
C#
Raw Normal View History

2024-04-28 13:55:19 +00:00
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ColdMint.scripts.inventory;
using Godot;
namespace ColdMint.scripts.database.dataPackEntity;
public class ItemInfo
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Index { get; set; }
public string Id { get; set; }
public int Quantity { get; set; }
public int MaxStackQuantity { get; set; }
public string? Icon { get; set; }
public string Name { get; set; }
public string? Description { get; set; }
public string ZipFileName { get; set; }
public string Namespace { get; set; }
public DateTime CrateTime { get; set; }
}