package com.hdkj.lt.bf.entity.dto;

import com.hdkj.lt.base.annotations.RegexValid;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @Description:
 * @Author: wenhao
 * @Create: 2025/07/09 19:29
 * @Version: 1.0
 */
@Getter
@Setter
@ApiModel("获取动画数据查询参数")
public class CartoonDataQueryDTO {

    @NotNull(message = "方案ID不能为空")
    @ApiModelProperty("方案ID")
    private Long schemeId;

    @NotEmpty(message = "查询类型不能为空")
    @RegexValid(value = "1,2,3", message = "查询类型不符合规范")
    @ApiModelProperty("查询类型：1-计划停电；2-故障停电；3-运行调优")
    private String schemeType;

}
