You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
287 B

3 years ago
  1. package global
  2. import (
  3. "time"
  4. "gorm.io/gorm"
  5. )
  6. type GVA_MODEL struct {
  7. ID uint `gorm:"primarykey"` // 主键ID
  8. CreatedAt time.Time // 创建时间
  9. UpdatedAt time.Time // 更新时间
  10. DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 删除时间
  11. }