gorm_models/models/amendment.go

18 lines
361 B
Go
Raw Normal View History

2025-06-27 15:05:06 +10:00
package models
import "time"
type DBAmendment struct {
Id int `gorm:"primaryKey;autoIncrement"`
ConversationId string `gorm:"index"`
2025-06-27 15:05:06 +10:00
AmendmentColumn string
AmendmentValue string
Requestor string
2025-10-24 09:27:34 +11:00
RequestedAt time.Time `gorm:"index"`
Sequence string
2025-06-27 15:05:06 +10:00
}
func (DBAmendment) TableName() string {
2025-06-27 15:05:06 +10:00
return "gc_amendments"
}