Fix nullable
This commit is contained in:
@@ -6,11 +6,11 @@ namespace GerbilManagerWebAPI.Models
|
||||
{
|
||||
[Key]
|
||||
public Guid Id { get; init; }
|
||||
public required string Name { get; init; }
|
||||
public required DateTime Date { get; init; }
|
||||
public int? Strength { get; init; }
|
||||
public Gerbil? Father { get; init; }
|
||||
public Gerbil? Mother { get; init; }
|
||||
public required string Name { get; set; }
|
||||
public required DateTime Date { get; set; }
|
||||
public int? Strength { get; set; }
|
||||
public Gerbil? Father { get; set; }
|
||||
public Gerbil? Mother { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user