Semaphore/db/Project.go

17 lines
534 B
Go
Raw Permalink Normal View History

package db
import (
"time"
)
// Project is the top level structure in Semaphore
type Project struct {
ID int `db:"id" json:"id"`
Name string `db:"name" json:"name" binding:"required"`
Created time.Time `db:"created" json:"created"`
Alert bool `db:"alert" json:"alert"`
AlertChat *string `db:"alert_chat" json:"alert_chat"`
MaxParallelTasks int `db:"max_parallel_tasks" json:"max_parallel_tasks"`
2024-03-07 19:50:48 +01:00
Type string `db:"type" json:"type"`
}