Publish from private repository

This commit is contained in:
Gitea Actions
2026-08-01 11:51:13 +00:00
commit 0304b03201
694 changed files with 69367 additions and 0 deletions
+20
View File
@@ -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; }
}
@@ -0,0 +1,13 @@
namespace MyOffice.Data.Models.Items;
using MyOffice.Data.Models.Users;
public class ItemCategory
{
public Guid Id { get; set; }
public Guid UserId { get; set; }
public User User { get; set; } = null!;
public string Name { get; set; } = null!;
public List<Item> Items { get; set; } = null!;
public bool IsInternal { get; set; }
}
+8
View File
@@ -0,0 +1,8 @@
namespace MyOffice.Data.Models.Items;
public class ItemGlobal
{
public Guid Id { get; set; }
public string Name { get; set; } = null!;
public IEnumerable<Item> Items { get; set; } = null!;
}