zhangqian
2023-12-08 288d78f66ecd1b628e8d1df7a3da99fc5e6880ec
model/model.go
@@ -7,7 +7,7 @@
)
type CommonModel struct {
   ID        uint `gorm:"primary_key"`
   ID        uint `gorm:"primary_key;autoIncrement:false"`
   CreatedAt time.Time
   UpdatedAt time.Time
   DeletedAt *time.Time `sql:"index"`