refactoring
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
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; }
|
||||
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!;
|
||||
}
|
||||
Reference in New Issue
Block a user