Files
houston-be/entity/incident_roles.go
Shubham Kirve b974cb6bf3 TP-0000 | Initialize houston repo (#1)
* TP-0000 | intialize houston repo

* TP-0000 | intialize houston repo
2023-03-29 00:01:17 +05:30

25 lines
472 B
Go

package entity
import "gorm.io/gorm"
type IncidentRole string
const (
RETROSPECTIVE IncidentRole = "RETROSPECTIVE"
RESPONDER IncidentRole = "RESPONDER"
SERVICE_OWNER IncidentRole = "SERVICE_OWNER"
)
type IncidentRoles struct {
gorm.Model
IncidentId int
Role IncidentRole
AssignedToUserSlackId string
AssignedByUserSlackId string
Version int
}
func (IncidentRoles) TableName() string {
return "incident_roles"
}