Fix nullable

This commit is contained in:
Julian
2023-10-30 17:18:23 +01:00
parent d58f874162
commit dee8de7a15
11 changed files with 33 additions and 32 deletions

View File

@@ -3,10 +3,10 @@ namespace GerbilManagerWebAPI.Dtos
{
public record UpdateLitterDto
{
public string Name { get; init; }
public DateTime Date { get; init; }
public int Strength { get; init; }
public Guid Father { get; init; }
public Guid Mother { get; init; }
public string? Name { get; init; }
public DateTime? Date { get; init; }
public int? Strength { get; init; }
public Guid? Father { get; init; }
public Guid? Mother { get; init; }
}
}