summaryrefslogtreecommitdiffstats
path: root/api/dto/entry.go
blob: 8346b1866b86a1b95f09ac757a147b433e3a2212 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package dto

type CreateEntryRequest struct {
	Title       string `json:"title"`
	Kind        string `json:"kind"`
	Url         string `json:"url"`
	Description string `json:"description"`
}

type UpdateEntryRequest struct {
	Id   int64  `json:"id"`
	Kind string `json:"kind"`
}

type DeleteEntryRequest struct {
	Id int64 `json:"id"`
}

type GetEntryRequest struct {
	Url string `json:"url"`
}