initial commit
This commit is contained in:
13
Dtos/CreateFamilyDto.cs
Normal file
13
Dtos/CreateFamilyDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace weddingapi.Dtos
|
||||
{
|
||||
public record CreateFamilyDto
|
||||
{
|
||||
[Required]
|
||||
public string Name { get; init; }
|
||||
[Required]
|
||||
public IList<PersonDto> Members { get; init;}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user