fix: create and get news
This commit is contained in:
@@ -3,7 +3,7 @@ package categorydomain
|
||||
import "time"
|
||||
|
||||
type Category struct {
|
||||
ID string `json:"id"`
|
||||
ID string `json:"id" gorm:"primaryKey"`
|
||||
Name string `json:"name"`
|
||||
Code string `json:"code"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
|
||||
Reference in New Issue
Block a user