package com.njcn.gather.freqConverter.pojo.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author caozehui
 * @data 2026-04-14
 */
@Data
@TableName(value = "ad_harmonic_xx")
public class PqFreqConverterTestRes {
    /**
     * 主键ID
     */
    private String id;

    /**
     * 残余电压，单位：%Ur
     */
    private Double residualVoltage;

    /**
     * 持续时间，单位：ms
     */
    private Integer durationMs;

    /**
     * 0为不耐受，1为耐受，2为特性曲线点
     */
    private Integer tolerant;

    /**
     *  时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
    private LocalDateTime time;
}
