gorm_models/models/amendment.go

18 lines
361 B
Go

package models
import "time"
type DBAmendment struct {
Id int `gorm:"primaryKey;autoIncrement"`
ConversationId string `gorm:"index"`
AmendmentColumn string
AmendmentValue string
Requestor string
RequestedAt time.Time `gorm:"index"`
Sequence string
}
func (DBAmendment) TableName() string {
return "gc_amendments"
}