Entities: Use 'required' and '= null!' to get rid of warnings
This commit is contained in:
@ -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; }
|
||||
|
Reference in New Issue
Block a user