package com.sikey.wa04.business.infrastructure.dto.request.device;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @Author: nelson
 * @Date: 2025/6/17
 * @Description: 手表开关机请求
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class PowerOnOrShutdownRequest {
    @NotBlank(message = "设备Ticket不能为空")
    private String ticket;

    @NotNull(message = "设备是否开机不能是空")
    private Boolean isPowerOnOrShutdown;
}
