add missing fields

This commit is contained in:
Julian
2022-02-12 20:08:48 +01:00
parent 3154152851
commit 2a3af9b0a0
7 changed files with 50 additions and 2 deletions

View File

@@ -10,6 +10,10 @@ namespace weddingapi.Dtos
[Required]
public IList<PersonDto> Members { get; init;}
[Required]
public bool Overnight { get; set; }
public bool Overnight { get; init; }
[Required]
public string Email { get; init; }
[Required]
public string Telephonenumber { get; init; }
}
}