You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
287 B
Go
15 lines
287 B
Go
11 months ago
|
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:"-"` // 删除时间
|
||
|
}
|