Files
houston-be/model/rca/entity.go

19 lines
367 B
Go

package rca
import (
"time"
)
type RcaEntity struct {
ID uint `gorm:"primaryKey"`
IncidentID uint `gorm:"index"`
RcaLink string `gorm:"type:text"`
Status string `gorm:"type:text"`
CreatedAt time.Time `gorm:"autoCreateTime"`
UpdatedAt time.Time `gorm:"autoUpdateTime"`
}
func (RcaEntity) TableName() string {
return "rca"
}