package com.jiayue.ipfcst.common.data.entity;

import com.jiayue.ipfcst.common.data.abst.AbstractBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.core.annotation.Order;

import javax.persistence.*;

/**
 * 准确率合格率
 *
 * @author zcl
 * @version 1.0
 * @since 2022/7/19 15:15
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class AccuracyPassRateDayOne extends AbstractBaseEntity {
    @Id
    @Order(1)
    @GeneratedValue(strategy = GenerationType.AUTO, generator = "myid")
    @GenericGenerator(name = "myid", strategy = "com.jiayue.ipfcst.common.data.entity.id.CustomIDGenerator")
    private Integer id;

    //时间
    @Column
    private Long time;

    //短期准确率
    @Column
    private String shortTermAccuracy;

    //短期合格率
    @Column
    private String shortTermPassRate;

    //超短期准确率
    @Column
    private String ultraShortTermAccuracy;

    //超短期合格率
    @Column
    private String ultraShortTermPassRate;

}
