Files
houston-be/entity/teams_severity_users_mapping.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

27 lines
465 B
Go

package entity
import (
"gorm.io/gorm"
)
type EntityType string
const (
TEAM EntityType = "TEAM"
SEVERITY EntityType = "SEVERITY"
)
type TeamsSeverityUsersMapping struct {
gorm.Model
EntityType EntityType
EntityId int
UsersId int
DefaultAddInIncidents bool
teamRole string
Version int
}
func (TeamsSeverityUsersMapping) TableName() string {
return "teams_severity_user_mapping"
}