|
@@ -70,7 +70,7 @@ type TenantIDField struct {
|
|
|
// UserIDFields 用户ID相关字段
|
|
|
type UserIDFields struct {
|
|
|
CreateUserID string `sqlmapping:"column:create_user_id;" sqlresult:"column:create_user_id;" check:"required,len=32,when=create"`
|
|
|
- LastUpdateUserID string `sqlmapping:"column:last_update_user_id;" sqlresult:"column:last_update_user_id;" check:"required,len=32,when=update"`
|
|
|
+ LastUpdateUserID string `sqlmapping:"column:last_update_user_id;" sqlresult:"column:last_update_user_id;" check:"required,len=32,when=create/update"`
|
|
|
DeleteUserID string `sqlmapping:"-" sqlresult:"-" check:"required,len=32,when=delete"`
|
|
|
}
|
|
|
|