|
@@ -64,7 +64,7 @@ const (
|
|
|
|
|
|
// TenantIDField 租户ID字段
|
|
|
type TenantIDField struct {
|
|
|
- TenantID string `sqlmapping:"column:tenant_id;" sqlresult:"column:tenant_id;" check:"required,len=32,when=create/delete/update"`
|
|
|
+ TenantID string `sqlmapping:"column:tenant_id;" sqlresult:"column:tenant_id;" check:"required,len=32,when=create"`
|
|
|
}
|
|
|
|
|
|
// UserIDFields 用户ID相关字段
|