add missing fields
This commit is contained in:
@@ -10,6 +10,10 @@ namespace weddingapi.Dtos
|
||||
[Required]
|
||||
public bool Overnight { get; set; }
|
||||
[Required]
|
||||
public string EMail { get; set; }
|
||||
[Required]
|
||||
public string Telephonenumber { get; set; }
|
||||
[Required]
|
||||
public IList<PersonDto> Members { get; init;}
|
||||
}
|
||||
}
|
||||
@@ -11,6 +11,10 @@ namespace weddingapi.Dtos
|
||||
|
||||
public bool Overnight { get; init; }
|
||||
|
||||
public string Email { get; init; }
|
||||
|
||||
public string Telephonenumber { get; init; }
|
||||
|
||||
public DateTimeOffset CreatedDate { get; set; }
|
||||
|
||||
public IList<PersonDto> Members { get; init;}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user