Files
houston-be/model/rcaInput/entity.go
Gullipalli Chetan Kumar 4abb12f71f TP-47360 : Removed deleted_at column, changed text messages (#294)
* removed the deleted_at column and removed one extra space in the resolved,duplicated messages

* changed rca input entity stucture

* changes text in tests of rca service
2023-11-24 16:20:47 +05:30

22 lines
649 B
Go

package rcaInput
import (
"github.com/lib/pq"
"time"
)
type RcaInputEntity struct {
ID uint `gorm:"primaryKey"`
IncidentID uint `gorm:"column:incident_id;index"`
DocumentType string `gorm:"column:document_type"`
IdentifierKeys pq.StringArray `gorm:"column:identifier_keys;type:text[]"`
ProviderName string `gorm:"column:provider_name"`
IsActive bool `gorm:"column:is_active;default:true"`
CreatedAt time.Time `gorm:"autoCreateTime"`
UpdatedAt time.Time `gorm:"autoUpdateTime"`
}
func (RcaInputEntity) TableName() string {
return "rca_input"
}