Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
package model
import (
xtime "go-common/library/time"
)
// TaskLog is record task
type TaskLog struct {
ID int64 `json:"id"`
TaskID int64 `json:"task_id"`
MID int64 `json:"mid"`
Build string `json:"build"`
Platform int `json:"platform"`
TaskState int `json:"task_state"`
Reason string `json:"reason"`
CTime xtime.Time `json:"ctime"`
MTime xtime.Time `json:"mtime"`
}
// TaskLogPager TaskLog Pager
type TaskLogPager struct {
Total int64 `json:"total"`
PageNo int `json:"page_no" default:"1"`
PageSize int `json:"page_size" default:"20"`
Items []*TaskLog `json:"items"`
}