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

import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 新能源场站高低电压穿越表查询类
 * </p>
 *
 * @author guofeihu
 * @since 2024-08-14
 */
@Data
public class NewStationQueryParam extends BaseParam {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("新能源场站名称")
    private String name;

    @ApiModelProperty("新能源场站类型")
    private String stationType;

    @ApiModelProperty("电压等级Guid")
    private String scale;

    @ApiModelProperty("额定有功功率")
    private String ratedPower;

    @ApiModelProperty("经度")
    private String longitude;

    @ApiModelProperty("维度")
    private String latitude;

    @Data
    public static class NewStationEdit{
        @ApiModelProperty("id")
        private String id;

        @NotBlank(message = "新能源场站名称不能为空")
        @ApiModelProperty("新能源场站名称(*)")
        private String name;

        @NotBlank(message = "新能源场站类型不能为空")
        @ApiModelProperty("新能源场站类型(*)")
        private String stationType;

        @ApiModelProperty("电压等级Guid")
        private String scale;

        @NotBlank(message = "额定有功功率不能为空")
        @ApiModelProperty("额定有功功率(*)")
        private String ratedPower;

        @NotBlank(message = "经度不能为空")
        @ApiModelProperty("经度(*)")
        private String longitude;

        @NotBlank(message = "维度不能为空")
        @ApiModelProperty("维度(*)")
        private String latitude;
    }
}
