fix 请求体枚举参数限定
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Dlhis.Entity.Basic.Enums;
|
||||
using Dlhis.Entity.Device.Enums;
|
||||
using Kurisu.Core.DataAccess.Dto;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
@@ -17,6 +18,7 @@ namespace Dlhis.ScheduledTask.TaskAssignment.Request
|
||||
/// 设备功能
|
||||
/// </summary>
|
||||
[Required]
|
||||
[EnumDataType(typeof(DeviceFuncEnumType))]
|
||||
public DeviceFuncEnumType type { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user