focus/backend/types/card.go

17 lines
401 B
Go
Raw Normal View History

2023-12-27 22:23:10 +01:00
package types
type Card struct {
2023-12-28 03:12:33 +01:00
ID int `json:"id"`
ProjectID int `json:"project_id"`
Title string `json:"title"`
Content string `json:"content"`
2023-12-27 22:23:10 +01:00
}
2023-12-29 03:21:10 +01:00
type FullCard struct {
ID int `json:"id"`
ProjectID int `json:"project_id"`
Title string `json:"title"`
Content string `json:"content"`
Tags []FullCardTag `json:"tags"`
}