using System.ComponentModel.DataAnnotations; using Manager.Data.Entities.Audit; namespace Manager.Data.Entities.LibraryContext; [NoAudit] public class HttpCookieEntity : DateTimeBase { [MaxLength(DataConstants.DbContext.DefaultDbStringSize)] public required string ClientId { get; set; } [MaxLength(DataConstants.DbContext.DefaultDbStringSize)] public required string Name { get; set; } [MaxLength(DataConstants.DbContext.DefaultDbStringSize)] public string? Value { get; set; } [MaxLength(DataConstants.DbContext.DefaultDbStringSize)] public string? Domain { get; set; } [MaxLength(DataConstants.DbContext.DefaultDbStringSize)] public string? Path { get; set; } public DateTime? ExpiresUtc { get; set; } public bool Secure { get; set; } public bool HttpOnly { get; set; } }