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 lombok.*;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author xuzhongpei
|
* @since 2021-12-10
|
*/
|
@Data
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@ToString
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName(schema ="db_pwrdev_alarm" ,value = "tb_pwrdev_time_out_alarm")
|
@ApiModel(value="PwrdevTimeOutAlarm对象", description="")
|
public class PwrdevTimeOutAlarm implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "num", type = IdType.AUTO)
|
private Long num;
|
|
@TableField("PowerDeviceId")
|
private Long PowerDeviceId;
|
|
@TableField("alarm_typeId")
|
private Integer alarmTypeid;
|
|
private Integer alarmIndex;
|
|
private Integer timeoutTag;
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date readDatetime;
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date systemDatetime;
|
|
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date resumeDatetime;
|
|
//多表查询
|
@TableField("alarm_name")
|
private String alarmName;
|
|
private String stationName;
|
|
|
}
|