diff options
Diffstat (limited to 'DTOs/CreateGroup.cs')
-rw-r--r-- | DTOs/CreateGroup.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/DTOs/CreateGroup.cs b/DTOs/CreateGroup.cs new file mode 100644 index 0000000..71cb77b --- /dev/null +++ b/DTOs/CreateGroup.cs @@ -0,0 +1,10 @@ +using System.ComponentModel.DataAnnotations; +using LibraryAPI.Validators; + +namespace LibraryAPI.DTOs { + public class CreateGroup { + [Required] + [Name] + public string? Name { get; set; } + } +}
\ No newline at end of file |