package com.njcn.product.advance.harmonicUp.pojo.po;

/**
 * @Author: cdf
 * @CreateTime: 2025-09-12
 * @Description:
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 谐波放大详情表
 * </p>
 *
 * @author
 * @since 2025-09-12
 */
@Data
@TableName("up_harmonic_detail")
public class UpHarmonicDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 事件id
     */
    @TableId(value = "id")
    private String id;

    /**
     * 监测点id
     */
    @TableField("monitor_id")
    private String monitorId;

    /**
     * 开始时间
     */
    @TableField("start_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @TableField("end_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

    /**
     * 谐波放大持续时间s
     */
    @TableField("duration")
    private Double duration;

    /**
     * 谐波次数
     */
    @TableField("harmonic_count")
    private Integer harmonicCount;

    /**
     * 相别
     */
    @TableField("phase")
    private String phase;

    /**
     * 电压标准值
     */
    @TableField("v_Avg_Value")
    private Double vAvgValue;

    /**
     * 电流标准值
     */

    @TableField("i_Avg_Value")
    private Double iAvgValue;

    @TableField("up_scheme")
    private String upScheme;

    /**
     * 创建时间
     */
    @TableField("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;


    @TableField(exist = false)
    private String stationName;
    @TableField(exist = false)
    private String monitorName;
    @TableField(exist = false)
    private String objName;


}
