Merge pull request #206 from MrVokia/master

feat:  deleted at 增加软删支持
master
xxj 3 years ago committed by GitHub
commit 06024c626a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -181,7 +181,7 @@ func getGormModelElement() []EmInfo {
result = append(result, EmInfo{ result = append(result, EmInfo{
IsMulti: false, IsMulti: false,
Notes: "deleted time", Notes: "deleted time",
Type: "time.Time", // Type.类型标记 Type: "gorm.DeletedAt", // Type.类型标记
ColName: "deleted_at", ColName: "deleted_at",
ColNameEx: "deleted_at", ColNameEx: "deleted_at",
ColStructName: "DeletedAt", ColStructName: "DeletedAt",

Loading…
Cancel
Save