namespace MyOffice.Data.Models.Items;

using MyOffice.Data.Models.Accounts;

/// <summary>
/// User 'Item' linked to global item
/// ItemGlobal: 'Primary salary', ItemCategory: 'Incomes'
/// </summary>
public class Item
{
	public int Id { get; set; }
	/// <summary>
	/// UnCategorized category is CategoryId = UserId 
	/// </summary>
	public Guid CategoryId { get; set; }
	public ItemCategory? Category { get; set; }
	public Guid ItemGlobalId { get; set; }
	public ItemGlobal ItemGlobal { get; set; } = null!;
	public List<Motion>? Motions { get; set; }
}