[CHANGE] Updated string maxsize on entities. Setup lib dbcontext

This commit is contained in:
max
2025-08-17 18:54:20 +02:00
parent 7f7e137a92
commit b6453d8bf6
12 changed files with 168 additions and 18 deletions

View File

@@ -1,8 +1,11 @@
using System.ComponentModel.DataAnnotations;
namespace Manager.Data.Models.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; } = [];