models

package
v0.0.0-...-e417875 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const JobLogTable = "job_log"

JobLogTable is the name of the table that record the job execution result.

Variables

This section is empty.

Functions

This section is empty.

Types

type JobLog

type JobLog struct {
	LogID        int       `orm:"pk;auto;column(log_id)" json:"log_id"`
	UUID         string    `orm:"column(job_uuid)" json:"uuid"`
	CreationTime time.Time `orm:"column(creation_time);auto_now_add" json:"creation_time"`
	Content      string    `orm:"column(content)" json:"content"`
}

JobLog holds information about logs which are used to record the result of execution of a job.

func (*JobLog) TableName

func (a *JobLog) TableName() string

TableName is required by by beego orm to map JobLog to table job_log

Jump to

Keyboard shortcuts

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