JM-WechatMini/global/model.go

15 lines
287 B
Go
Raw Permalink Normal View History

2023-11-02 04:34:46 +08:00
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:"-"` // 删除时间
}