feat (user): add create

This commit is contained in:
dpurbosakti
2025-08-13 14:26:14 +07:00
parent 2e88eaf793
commit 7577c87f27
12 changed files with 342 additions and 9 deletions

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
package single
type Createdto struct {
type CreateDto struct {
Code string `json:"code"`
Name string `json:"name"`
Description string `json:"description"`
@@ -23,7 +23,7 @@ type ReadDetailDto struct {
type Updatedto struct {
Id uint `json:"id"`
Createdto
CreateDto
}
type Deletedto struct {