Post slug 🐛 Fix duplicate device id

This commit is contained in:
2025-08-15 12:19:36 +08:00
parent a27bda4720
commit 48f776e6ff
9 changed files with 3879 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ public class Post : ModelBase, IIdentifiedResource, IActivity
public Guid Id { get; set; }
[MaxLength(1024)] public string? Title { get; set; }
[MaxLength(4096)] public string? Description { get; set; }
[MaxLength(128)] public string? Language { get; set; }
[MaxLength(1024)] public string? Slug { get; set; }
public Instant? EditedAt { get; set; }
public Instant? PublishedAt { get; set; }
public PostVisibility Visibility { get; set; } = PostVisibility.Public;