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:01
 * @description
 */
@NoArgsConstructor
@Data
@ApiModel("用户查询结果")
public class UserVO {


    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 Object psrId;
            private Object psrType;
            private Object astId;
            private Object astType;
            private String consNo;
            private String consType;
            private String measTypeCode;
            private String measTypeName;
            private String source;
            private Object pt;
            private String ct;
            private String locationType;
            private List<TelemetryValueDTO> telemetryValue;
            private Object tFactor;

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