feat: category routes
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package categorydomain
|
||||
|
||||
type Category struct {
|
||||
ID string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Code string `json:"code"`
|
||||
}
|
||||
|
||||
type CategoryReq struct {
|
||||
Name string `json:"name" validate:"required"`
|
||||
Code string `json:"code" validate:"required"`
|
||||
}
|
||||
Reference in New Issue
Block a user