project reorganized
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
namespace WatchIt.Database.Model.Rating;
|
||||
|
||||
public class RatingMedia
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public required long MediaId { get; set; }
|
||||
public required long AccountId { get; set; }
|
||||
public required short Rating { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
public virtual Model.Media.Media Media { get; set; } = null!;
|
||||
public virtual Model.Account.Account Account { get; set; } = null!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using WatchIt.Database.Model.Media;
|
||||
|
||||
namespace WatchIt.Database.Model.Rating;
|
||||
|
||||
public class RatingMediaSeriesEpisode
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public required Guid MediaSeriesEpisodeId { get; set; }
|
||||
public required long AccountId { get; set; }
|
||||
public required short Rating { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
public virtual MediaSeriesEpisode MediaSeriesEpisode { get; set; } = null!;
|
||||
public virtual Account.Account Account { get; set; } = null!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using WatchIt.Database.Model.Media;
|
||||
|
||||
namespace WatchIt.Database.Model.Rating;
|
||||
|
||||
public class RatingMediaSeriesSeason
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public required Guid MediaSeriesSeasonId { get; set; }
|
||||
public required long AccountId { get; set; }
|
||||
public required short Rating { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
public virtual MediaSeriesSeason MediaSeriesSeason { get; set; } = null!;
|
||||
public virtual Account.Account Account { get; set; } = null!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using WatchIt.Database.Model.Person;
|
||||
|
||||
namespace WatchIt.Database.Model.Rating;
|
||||
|
||||
public class RatingPersonActorRole
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public required Guid PersonActorRoleId { get; set; }
|
||||
public required long AccountId { get; set; }
|
||||
public required short Rating { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
public virtual PersonActorRole PersonActorRole { get; set; } = null!;
|
||||
public virtual Account.Account Account { get; set; } = null!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
using WatchIt.Database.Model.Person;
|
||||
|
||||
namespace WatchIt.Database.Model.Rating;
|
||||
|
||||
public class RatingPersonCreatorRole
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public required Guid PersonCreatorRoleId { get; set; }
|
||||
public required long AccountId { get; set; }
|
||||
public required short Rating { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region NAVIGATION
|
||||
|
||||
public virtual PersonCreatorRole PersonCreatorRole { get; set; } = null!;
|
||||
public virtual Account.Account Account { get; set; } = null!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user