summaryrefslogtreecommitdiff
path: root/DTOs/CreateGroup.cs
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2022-11-06 17:04:29 -0600
committerHombreLaser <sebastian-440@live.com>2022-11-06 17:04:29 -0600
commit8b40d27710e532a43aaf1eb198be64af1a2e576e (patch)
treecd2264d249e7cb4d1a9e3407d36d0db9680ef913 /DTOs/CreateGroup.cs
parent08819c6738a4f82ccf07ae5ed60835b087f7bb34 (diff)
Añadidos DTOs y AutomapperHEADmain
Diffstat (limited to 'DTOs/CreateGroup.cs')
-rw-r--r--DTOs/CreateGroup.cs10
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