model.go 206 B

12345678910111213
  1. package global
  2. import (
  3. "gorm.io/gorm"
  4. "time"
  5. )
  6. type GVA_MODEL struct {
  7. ID uint `gorm:"primarykey"`
  8. CreatedAt time.Time
  9. UpdatedAt time.Time
  10. DeletedAt gorm.DeletedAt `gorm:"index" json:"-"`
  11. }