package org.jeecg.modules.newWarning.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data
@TableName("tab_cbx397")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class TabQi implements Serializable {

    private String jh;


    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date time;

    /**
     * 钻压
     */
    private Float wob;
    /**
     * 一号泵冲
     */
    private Float pump1;

    /**
     * 二号泵冲
     */
    private Float pump2;

    /**
     * 三号泵冲
     */
    private Float pump3;

    /**
     * 钻头位置
     */
    private Float bitdepth;

    /**
     * 井深
     */
    private Float depth;

    /**
     * 迟到时间
     */
    private Float lagdepth;

    /**
     * 大钩位置
     */
    private Float hkh;

    /**
     * 大钩负荷
     */
    private Float woh;

    /**
     * 立管压力
     */
    private Float spp;

    /**
     * 转盘转速
     */
    private Float rpm;

    /**
     * 排量/出口流量
     */
    private Float flowoutpercent;

//
//    private Float fh;
//
//    private Float wz;

    /****查询条件***********/
    /**
     * 差值
     */
    @TableField(exist = false)
    private Double differenceNum;

    /**
     * 时间间隔
     */
    @TableField(exist = false)
    private Integer timeInterval;

    /**
     * 一柱杆重
     */
    @TableField(exist = false)
    private Double columnWeight;

    /**
     * 异常预警值
     */
    @TableField(exist = false)
    private  Double  warningValue;

    /**
     * 查询表名
     */
    @TableField(exist = false)
    private String jhTableName;

    /**
     * 开始时间
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date startDate;

    /**
     * 结束时间
     */
    @TableField(exist = false)
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date endDate;

    /**
     * 当前点状态 4：起钻 8：下钻 0:其他
     */
    @TableField(exist = false)
    private Integer pointStatus;

    /**
     * 当前点大钩方向:1:整体上升 2:整体下降
     */
    @TableField(exist = false)
    private Integer pointDirection;

    /**
     * 大钩位置变化幅度阈值
     */
    @TableField(exist = false)
    private Double hkhRang;

    /**
     *
     */
    private Double loopDrillingpump;


    private Double loopDrillingSpp;

    /**
     * 扭矩上一点井深
     */
    @TableField("torquepreviousjs")
    private Float torquepreviousjs;

    /**
     * 波动取值时间范围
     */
    @TableField("torguetimes")
    private Integer torguetimes;

    /**
     * 扭矩变化量阈值
     */
    @TableField("torgue_variation_threshold")
    private Float torgueVariationThreshold;

    /**
     * 扭矩波动阈值
     */
    @TableField("torgue_wave_threshold")
    private Float torgueWaveThreshold;
}
