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

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

import java.util.List;

/**
 * @author rj
 * @date 2025/5/24 下午4:02
 * @description
 */
@NoArgsConstructor
@Data
@ApiModel("最新遥测/摇信查询 负荷开关查询结果")
public class LoadSwitchStatusVO {

    private String status;
    private String errors;
    private ResultDTO result;

    @NoArgsConstructor
    @Data
    public static class ResultDTO {
        private Integer current;
        private Integer total;
        private Integer pages;
        private Integer size;
        private List<RecordsDTO> records;

        @NoArgsConstructor
        @Data
        public static class RecordsDTO {
            private String measPointId;
            private String psrId;
            private String psrType;
            private Object astId;
            private Object astType;
            private Object consNo;
            private Object consType;
            private String measTypeCode;
            private String measTypeName;
            private String source;
            private Object pt;
            private Object ct;
            private String locationType;
            private List<TelemetryValueDTO> telemetryValue;
            private Object tFactor;

            @NoArgsConstructor
            @Data
            public static class TelemetryValueDTO {
                private String measValue;
                private String dataTime;
            }
        }
    }
}
