package com.whyc.pojo;
|
|
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 io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author lxw
|
* @since 2021-12-16
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName(schema = "db_pwrdev_data_rt",value ="tb_pwrdev_dcdata")
|
@ApiModel(value="PwrdevDcdata对象", description="")
|
public class PwrdevDcdata implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "num", type = IdType.AUTO)
|
private Long num;
|
|
@TableField("PowerDeviceId")
|
private Long PowerDeviceId;
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date recordDatetime;
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@TableField(value = "record_datetime2",exist = false)
|
private Date recordDatetime2;
|
|
@TableField("dcIn1_vol")
|
private Float dcin1Vol;
|
|
@TableField("dcIn2_vol")
|
private Float dcin2Vol;
|
|
@TableField("dcOut1_vol")
|
private Float dcout1Vol;
|
|
@TableField("dcOut1_curr")
|
private Float dcout1Curr;
|
|
@TableField("dcOut2_vol")
|
private Float dcout2Vol;
|
|
@TableField("dcOut2_curr")
|
private Float dcout2Curr;
|
|
private Float temprature;
|
|
private Integer isDc1OverVol;
|
|
private Integer isDc1UnderVol;
|
|
private Integer isDc2OverVol;
|
|
private Integer isDc2UnderVol;
|
|
private Integer isDcMonitorerr;
|
|
private Integer isTempalarm;
|
|
@TableField("is_acIn1_trip")
|
private Integer isAcin1Trip;
|
|
@TableField("is_acIn2_trip")
|
private Integer isAcin2Trip;
|
|
private Integer isFsw1Sw1trip;
|
|
private Integer isFsw1Sw2trip;
|
|
private Integer isFsw1Sw3trip;
|
|
private Integer isFsw1Sw4trip;
|
|
private Integer isFsw1Sw5trip;
|
|
private Integer isFsw1Sw6trip;
|
|
private Integer isFsw1Sw7trip;
|
|
private Integer isFsw1Sw8trip;
|
|
private Integer isFsw1Sw9trip;
|
|
private Integer isFsw2Sw1trip;
|
|
private Integer isFsw2Sw2trip;
|
|
private Integer isFsw2Sw3trip;
|
|
private Integer isFsw2Sw4trip;
|
|
private Integer isFsw2Sw5trip;
|
|
private Integer isFsw2Sw6trip;
|
|
private Integer isFsw2Sw7trip;
|
|
private Integer isFsw2Sw8trip;
|
|
private Integer isFsw2Sw9trip;
|
|
private Integer isTotalAlarm;
|
|
@ApiModelProperty("字段判断是否数据有效,是否通讯超时")
|
@TableField(exist = false)
|
private Integer commStatus;
|
}
|