Refactoring, database structure changed
This commit is contained in:
23
WatchIt.Database/Model/IRatingEntity.cs
Normal file
23
WatchIt.Database/Model/IRatingEntity.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using WatchIt.Database.Model.Media;
|
||||
|
||||
namespace WatchIt.Database.Model;
|
||||
|
||||
public interface IRatingEntity
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
long AccountId { get; set; }
|
||||
byte Rating { get; set; }
|
||||
DateTime Date { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
// Account
|
||||
Accounts.Account Account { get; set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user