19 lines
469 B
C#
19 lines
469 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using Dlhis.Entity.Device.Enums;
|
|
using Kurisu.AspNetCore.DataAccess.Dto;
|
|
|
|
namespace Dlhis.Basic.Device.Request;
|
|
|
|
public class DeviceOnlineAndOfflineRequest : PageDto
|
|
{
|
|
/// <summary>
|
|
/// 是否在线
|
|
/// </summary>
|
|
public bool IsOnline { get; set; }
|
|
|
|
/// <summary>
|
|
/// 设备类型
|
|
/// </summary>
|
|
[EnumDataType(typeof(DeviceTypeEnumType))]
|
|
public DeviceTypeEnumType Type { get; set; }
|
|
} |