Refactoring, database structure changed
This commit is contained in:
26
WatchIt.Database/Model/Accounts/AccountBackgroundPicture.cs
Normal file
26
WatchIt.Database/Model/Accounts/AccountBackgroundPicture.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using WatchIt.Database.Model.Photos;
|
||||
|
||||
namespace WatchIt.Database.Model.Accounts;
|
||||
|
||||
public class AccountBackgroundPicture
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public long AccountId { get; set; }
|
||||
public Guid BackgroundId { get; set; }
|
||||
public uint Version { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
// Account
|
||||
public virtual Account Account { get; set; } = default!;
|
||||
|
||||
// Background
|
||||
public virtual PhotoBackground Background { get; set; } = default!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user