[CHANGE] Reworked entities and contexts
This commit is contained in:
14
Manager.Data/Entities/LibraryContext/Join/PlaylistMedia.cs
Normal file
14
Manager.Data/Entities/LibraryContext/Join/PlaylistMedia.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Manager.Data.Entities.LibraryContext.Join;
|
||||
|
||||
public class PlaylistMedia
|
||||
{
|
||||
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
|
||||
public required string PlaylistId { get; set; }
|
||||
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
|
||||
public required string MediaId { get; set; }
|
||||
|
||||
public DateTime DateAddedUtc { get; set; }
|
||||
public DateTime DateModifiedUtc { get; set; }
|
||||
}
|
Reference in New Issue
Block a user