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
14 lines
287 B
package global
|
|
|
|
import (
|
|
"time"
|
|
|
|
"gorm.io/gorm"
|
|
)
|
|
|
|
type GVA_MODEL struct {
|
|
ID uint `gorm:"primarykey"` // 主键ID
|
|
CreatedAt time.Time // 创建时间
|
|
UpdatedAt time.Time // 更新时间
|
|
DeletedAt gorm.DeletedAt `gorm:"index" json:"-"` // 删除时间
|
|
}
|