Files
myoffice/MyOffice.Data.Models/Items/Item.cs
T
2023-06-23 09:03:00 +03:00

20 lines
581 B
C#

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; } = null!;
public Guid ItemGlobalId { get; set; }
public ItemGlobal ItemGlobal { get; set; } = null!;
public IEnumerable<Motion> Motions { get; set; } = null!;
}