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.
 
 
 

39 lines
915 B

package models
import "time"
type Issue struct {
ID string `db:"issue_id"`
ProjectID string `db:"project_id"`
OwnerID string `db:"owner_id"`
AssigneeID string `db:"assignee_id"`
StatusStage int `db:"status_stage"`
StatusName string `db:"status_name"`
CreatedTime time.Time `db:"created_time"`
UpdatedTime time.Time `db:"updated_time"`
DueTime time.Time `db:"due_time"`
Name string `db:"name"`
Title string `db:"title"`
Description string `db:"description"`
}
type IssueFilter struct {
IssueIDs []string
ProjectIDs []string
OwnerIDs []string
AssigneeIDs []string
Search *string
MinStage *int
MaxStage *int
Limit *int
}
const (
IssueStageInactive = 0
IssueStagePending = 1
IssueStageActive = 2
IssueStageReview = 3
IssueStageCompleted = 4
IssueStageFailed = 5
IssueStagePostponed = 6
)