fix
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
namespace MyOffice.Data.Models.Motions;
|
||||
|
||||
using Accounts;
|
||||
|
||||
public class MotionAccount
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public Guid CategoryId { get; set; }
|
||||
public MotionCategory Category { get; set; } = null!;
|
||||
public Guid MotionGlobalId { get; set; }
|
||||
public MotionGlobal MotionGlobal { get; set; } = null!;
|
||||
public IEnumerable<AccountMotion> Motions { get; set; } = null!;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
namespace MyOffice.Data.Models.Motions;
|
||||
|
||||
using Users;
|
||||
|
||||
public class MotionCategory
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public Guid UserId { get; set; }
|
||||
public User User { get; set; } = null!;
|
||||
public string Name { get; set; } = null!;
|
||||
public IEnumerable<MotionAccount> Motions { get; set; } = null!;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace MyOffice.Data.Models.Motions;
|
||||
|
||||
public class MotionGlobal
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Name { get; set; } = null!;
|
||||
public IEnumerable<MotionAccount> Motions { get; set; } = null!;
|
||||
}
|
||||
Reference in New Issue
Block a user