type.go 192 B

1234567891011
  1. package model
  2. import "gorm.io/gorm/schema"
  3. type ActiveRecord interface {
  4. schema.Tabler
  5. SetCreateBy(createBy int)
  6. SetUpdateBy(updateBy int)
  7. Generate() ActiveRecord
  8. GetId() interface{}
  9. }