mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-12-04 23:31:05 +01:00
17 lines
556 B
Go
17 lines
556 B
Go
package db
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
// Project is the top level structure in Semaphore
|
|
type Project struct {
|
|
ID int `db:"id" json:"id" backup:"-"`
|
|
Name string `db:"name" json:"name" binding:"required"`
|
|
Created time.Time `db:"created" json:"created" backup:"-"`
|
|
Alert bool `db:"alert" json:"alert"`
|
|
AlertChat *string `db:"alert_chat" json:"alert_chat"`
|
|
MaxParallelTasks int `db:"max_parallel_tasks" json:"max_parallel_tasks"`
|
|
Type string `db:"type" json:"type"`
|
|
}
|