diff --git a/src/Web/Features/Contents/Handlers/Models/ContentModel.cs b/src/Web/Features/Contents/Handlers/Models/ContentModel.cs index 2746b99..123532a 100644 --- a/src/Web/Features/Contents/Handlers/Models/ContentModel.cs +++ b/src/Web/Features/Contents/Handlers/Models/ContentModel.cs @@ -3,12 +3,12 @@ [PublicAPI] public class ContentModel { - public Guid Id { get; set; } - public Guid CreatedBy { get; set; } - public string CreatedByName { get; set; } - public string? CreatedByPortraitUrl { get; set; } - public DateTimeOffset CreatedAt { get; set; } - public string Title { get; set; } - public string Description { get; set; } - public string[]? Urls { get; set; } + public required Guid Id { get; init; } + public required Guid CreatedBy { get; init; } + public required string CreatedByName { get; init; } + public required string? CreatedByPortraitUrl { get; init; } + public required DateTimeOffset CreatedAt { get; init; } + public required string Title { get; init; } + public required string Description { get; init; } + public required string[]? Urls { get; init; } }