Skip to content

Commit

Permalink
add Label model
Browse files Browse the repository at this point in the history
  • Loading branch information
milwad-dev committed May 9, 2024
1 parent 9c87d0c commit 1001d8e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions internal/models/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,14 @@ type User struct {
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}

type Label struct {
ID int `json:"id"`
Title string `json:"title"`
Color string `json:"color"`
UserId int `json:"user_id"`
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`

User `json:"user"`
}

0 comments on commit 1001d8e

Please sign in to comment.