package com.njcn.prepare.harmonic.pojo.mysql.po.line;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * 类的介绍：
 *
 * @author xuyang
 * @version 1.0.0
 * @createTime 2023/5/8 9:53
 */
@Data
@TableName(value = "r_mp_target_diff_d")
public class RMpTargetDiffDPO implements Serializable {

    @MppMultiId(value = "time")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private LocalDate time;

    @MppMultiId(value = "line_id")
    private String lineId;

    @TableField(value = "vl_dev")
    private Double vlDev;

    @TableField(value = "freq_dev")
    private Double freqDev;

    @TableField(value = "v_unbalance")
    private Double vUnbalance;

    @TableField(value = "v_harmonic")
    private Double vHarmonic;

    @TableField(value = "plt")
    private Double plt;

    @TableField(value = "sag_times")
    private Integer sagTimes;

    @TableField(value = "interrupt_times")
    private Integer interruptTimes;
}
