diff options
author | HombreLaser <sebastian-440@live.com> | 2022-11-06 17:04:29 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-11-06 17:04:29 -0600 |
commit | 8b40d27710e532a43aaf1eb198be64af1a2e576e (patch) | |
tree | cd2264d249e7cb4d1a9e3407d36d0db9680ef913 /DTOs/CreateGroup.cs | |
parent | 08819c6738a4f82ccf07ae5ed60835b087f7bb34 (diff) |
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 |