feat: tag routes

This commit is contained in:
ericprd
2025-03-01 20:00:54 +08:00
parent 613379c8a5
commit acd80480dd
19 changed files with 336 additions and 8 deletions
+12
View File
@@ -0,0 +1,12 @@
package tagdomain
type TagReq struct {
Code string `json:"code" validate:"required"`
Name string `json:"name" validate:"required"`
}
type Tag struct {
ID string `json:"id"`
Code string `json:"code"`
Name string `json:"name"`
}