stufflog graphql server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

25 lines
589 B

package models
import "time"
type Log struct {
ID string `db:"log_id"`
IssueID string `db:"issue_id"`
UserID string `db:"user_id"`
IssueTaskID *string `db:"issue_task_id"`
UnitsDone *int `db:"units_done"`
Duration time.Duration `db:"duration"`
Description []string `db:"description"`
}
type LogFilter struct {
LogIDs []string
IssueIDs []string
IssueTaskIDs []string
}
type LogItem struct {
LogID string `db:"log_id"`
IssueItemID string `db:"issue_item_id"`
Amount int `db:"amount"`
}