model

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Job

type Job struct {
	ID        int64
	ParentID  *int64
	Created   time.Time
	JobStatus *model.JobStatus `gorm:"embedded"`
}

type Task

type Task struct {
	ID           int64
	Name         string `gorm:"type:varchar(1024)"`
	Created      time.Time
	Updated      time.Time
	TaskHistory  *model.TaskHistory `gorm:"embedded"`
	JobID        int64              `gorm:"index"`
	ErrorCode    model.ErrorCode    `gorm:"type:varchar(255)"`
	ErrorMessage string             `gorm:"type:text"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL