🐛 Bug fixes on web article

This commit is contained in:
2025-07-01 22:35:46 +08:00
parent fb8fc69920
commit 71fcc26534
2 changed files with 3 additions and 6 deletions

View File

@ -8,8 +8,8 @@ public class WebArticle : ModelBase
{
public Guid Id { get; set; } = Guid.NewGuid();
[MaxLength(4096)] public string Title { get; set; }
[MaxLength(8192)] public string Url { get; set; }
[MaxLength(4096)] public string Title { get; set; } = null!;
[MaxLength(8192)] public string Url { get; set; } = null!;
[MaxLength(4096)] public string? Author { get; set; }
[Column(TypeName = "jsonb")] public Dictionary<string, object>? Meta { get; set; }