diff --git a/schemas/teams.go b/schemas/teams.go index 68b987f..040a343 100644 --- a/schemas/teams.go +++ b/schemas/teams.go @@ -1 +1,20 @@ -package schemas \ No newline at end of file +package schemas + +import ( + "time" + + "gorm.io/gorm" +) + +type Team struct { + gorm.Model + Name string +} + +type TeamResponse struct { + ID uint `json:"id"` + CreatedAt time.Time `json:"createdAt"` + UpdatedAt time.Time `json:"updatedAt"` + DeletedAt time.Time `json:"deteledAt,omitempty"` + Name string `json:"name"` +} \ No newline at end of file