feat: deleted at 增加软删支持

master
陈朱衡 3 years ago
parent 0b59ec2a6c
commit f015601f3d

@ -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