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