15 lines
332 B
Go
15 lines
332 B
Go
package dto
|
|
|
|
type RecordDto struct {
|
|
ID uint `json:"id"`
|
|
StartedAt int64 `json:"startedAt"`
|
|
StoppedAt int64 `json:"stoppedAt"`
|
|
}
|
|
|
|
type RecordListDto struct {
|
|
Records []RecordDto `json:"records"`
|
|
Offset int `json:"offset"`
|
|
Limit int `json:"limit"`
|
|
Total int64 `json:"total"`
|
|
}
|