package com.hdkj.lt.modle.dto.measurement;

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

import java.util.List;

/**
 * @author rj
 * @date 2025/5/24 下午4:00
 * @description
 */
@NoArgsConstructor
@Data
@ApiModel("遥测通用查询 配变查询参数")
public class DistributionTransformerDTO {

    @ApiModelProperty(value = "页码")
    private Integer page;
    private Integer perPage;
    @ApiModelProperty(value = "开始时间")
    private String startTime;
    @ApiModelProperty(value = "结束时间")
    private String endTime;
    @ApiModelProperty(value = "设备psrId")
    private List<String> psrIds;
    @ApiModelProperty(value = "查询类型（0：配电变压器、断路器、隔离开关等  1：光伏用户 2:线路id）")
    private String psrType;
    @ApiModelProperty(value = "查询种类:\"TotW\", \"TotVar\", \"A_phsA\", \"A_phsB\", \"A_phsC\", \"Phv_phsA\", \"Phv_phsB\", \"Phv_phsC\"")
    private String type;

    @NoArgsConstructor
    @Data
    public static class FiltersDTO {
        private String psrType;
        private List<?> psrIds;
        private List<?> astIds;
        private String astType;
        private List<String> consNos;
        private String consType;
        private List<String> telemetryTypes;
        private List<?> measPointIds;
    }
}
