15 lines
587 B
C#
15 lines
587 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Manager.Data.Entities.LibraryContext;
|
|
|
|
public class ClientAccountEntity : DateTimeBase
|
|
{
|
|
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
|
|
public required string Id { get; set; }
|
|
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
|
|
public string Name { get; set; } = "";
|
|
public List<PlaylistEntity> Playlists { get; set; } = [];
|
|
public List<HttpCookieEntity> HttpCookies { get; set; } = [];
|
|
[MaxLength(DataConstants.DbContext.DefaultDbStringSize)]
|
|
public string? UserAgent { get; set; }
|
|
} |