Semaphore/db/ProjectUser.go

9 lines
215 B
Go
Raw Normal View History

package db
type ProjectUser struct {
2021-05-16 23:44:42 +02:00
ID int `db:"id" json:"-"`
ProjectID int `db:"project_id" json:"project_id"`
UserID int `db:"user_id" json:"user_id"`
Admin bool `db:"admin" json:"admin"`
}