sync full source from private myoffice
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user