package com.njcn.device.pq.pojo.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @author wr
 * @description
 * @date 2023/7/19 15:59
 */
@Data
public class TflgployParam implements Serializable {

    /**
     * 变压器策略名称
     */
    @ApiModelProperty(value = "变压器策略名称")
    @NotBlank(message = "变压器策略名称不能为空")
    private String tpName;

    /**
     * 变压器策略描述
     */
    @ApiModelProperty(value = "变压器策略描述")
    private String tfDescribe;

    @ApiModelProperty(value = "变压器台账id集合")
    private List<String> tfIndexs;

    @Data
    public static class TflgployUpdateParam extends TflgployParam{
        /**
         * 变压器策略Guid
         */
        @ApiModelProperty(value = "变压器策略Guid")
        @NotBlank(message = "变压器策略编号不能为空")
        private String tpIndex;
    }
}
