19 lines
588 B
Go
19 lines
588 B
Go
package db
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type Project struct {
|
|
ID int `json:"id" gorm:"autoIncrement:true"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
UpdatedAt time.Time `json:"updatedAt"`
|
|
DeletedAt time.Time `json:"deletedAt"`
|
|
ProjectReferenceId string `json:"projectReferenceId" gorm:"primaryKey"`
|
|
Name string `json:"name" gorm:"unique"`
|
|
Team string `json:"team"`
|
|
Icon string `json:"icon"`
|
|
GithubUrl string `json:"githubUrl"`
|
|
Secret string `json:"secret"`
|
|
}
|