28 lines
718 B
C#
28 lines
718 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Dlhis.Entity.Device.Enums;
|
|
using Kurisu.Core.DataAccess.Dto;
|
|
|
|
namespace Dlhis.ScheduledTask.TaskAssignment.Request;
|
|
|
|
public class DeviceTaskAssignmentRequest : PageDto
|
|
{
|
|
/// <summary>
|
|
/// 设备类型
|
|
/// </summary>
|
|
[EnumDataType(typeof(DeviceTypeEnumType))]
|
|
public DeviceTypeEnumType? Type { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// 任务类型
|
|
/// </summary>
|
|
[EnumDataType(typeof(DeviceTaskEnumType))]
|
|
public DeviceTaskEnumType? TaskType { get; set; }
|
|
|
|
/// <summary>
|
|
/// 任务下发状态
|
|
/// </summary>
|
|
[EnumDataType(typeof(DeviceTaskStatusEnumType))]
|
|
public DeviceTaskStatusEnumType? Status { get; set; }
|
|
}
|