Remove warnings from ContentModel
This commit is contained in:
@@ -3,12 +3,12 @@
|
|||||||
[PublicAPI]
|
[PublicAPI]
|
||||||
public class ContentModel
|
public class ContentModel
|
||||||
{
|
{
|
||||||
public Guid Id { get; set; }
|
public required Guid Id { get; init; }
|
||||||
public Guid CreatedBy { get; set; }
|
public required Guid CreatedBy { get; init; }
|
||||||
public string CreatedByName { get; set; }
|
public required string CreatedByName { get; init; }
|
||||||
public string? CreatedByPortraitUrl { get; set; }
|
public required string? CreatedByPortraitUrl { get; init; }
|
||||||
public DateTimeOffset CreatedAt { get; set; }
|
public required DateTimeOffset CreatedAt { get; init; }
|
||||||
public string Title { get; set; }
|
public required string Title { get; init; }
|
||||||
public string Description { get; set; }
|
public required string Description { get; init; }
|
||||||
public string[]? Urls { get; set; }
|
public required string[]? Urls { get; init; }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user