Entities: Use 'required' and '= null!' to get rid of warnings

This commit is contained in:
lorenz.stechauner committed 2024-02-29 15:48:09 +01:00
1 parent 53a25b3be4
commit f922388db9
40 files changed
+142 -155

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ namespace Elwig.Models.Entities {
[Table("client_parameter"), PrimaryKey("Param")]
public class ClientParam {
[Column("param")]
public string Param { get; set; }
public required string Param { get; set; }
[Column("value")]
public string? Value { get; set; }