fix 优化代码

This commit is contained in:
2024-04-22 14:09:58 +08:00
parent 9f9e80061f
commit 089f020110
3 changed files with 56 additions and 88 deletions

View File

@@ -27,7 +27,7 @@ public class DeviceSaveRequest : IValidatableObject
public string Supplier { get; set; }
/// <summary>
/// 设备功能
/// 设备功能 DeviceFuncEnumType
/// </summary>
[MinLength(1, ErrorMessage = "设备功能不能为空")]
[Required(ErrorMessage = "设备功能不能为空")]