[CHANGE] Reworked entities and contexts
This commit is contained in:
12
Manager.Data/Entities/LibraryContext/ClientAccountEntity.cs
Normal file
12
Manager.Data/Entities/LibraryContext/ClientAccountEntity.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Manager.Data.Entities.LibraryContext;
|
||||
|
||||
public class ClientAccountEntity : DateTimeBase
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
|
||||
public string Name { get; set; } = "";
|
||||
public List<PlaylistEntity> Playlists { get; set; } = [];
|
||||
public List<HttpCookieEntity> HttpCookies { get; set; } = [];
|
||||
}
|
Reference in New Issue
Block a user