fix 用户列表查询问题

This commit is contained in:
2024-05-23 14:45:41 +08:00
parent 9be2a5ce04
commit e0c9621e56
2 changed files with 7 additions and 7 deletions

View File

@@ -20,11 +20,11 @@ public class UserCreateRequest
/// <summary>
/// 厂区
/// </summary>
[Required]
public string Tenant { get; set; }
[MinLength(1, ErrorMessage = "请明确厂区")]
public List<string> Tenants { get; set; }
/// <summary>
/// 名称
/// </summary>
public string Name { get; set; }
}
}