Refactoring, database structure changed
This commit is contained in:
24
WatchIt.Database/Model/Accounts/AccountFollow.cs
Normal file
24
WatchIt.Database/Model/Accounts/AccountFollow.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace WatchIt.Database.Model.Accounts;
|
||||
|
||||
public class AccountFollow
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public long FollowerId { get; set; }
|
||||
public long FollowedId { get; set; }
|
||||
public uint Version { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
// Follower
|
||||
public virtual Account Follower { get; set; } = default!;
|
||||
|
||||
// Followed
|
||||
public virtual Account Followed { get; set; } = default!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user