Refactoring, database structure changed
This commit is contained in:
21
WatchIt.Database/Model/People/PersonViewCount.cs
Normal file
21
WatchIt.Database/Model/People/PersonViewCount.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace WatchIt.Database.Model.People;
|
||||
|
||||
public class PersonViewCount : IViewCountEntity
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public long PersonId { get; set; }
|
||||
public DateOnly Date { get; set; }
|
||||
public long ViewCount { get; set; }
|
||||
public uint Version { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
public virtual Person Person { get; set; } = default!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user