package com.whyc.pojo.db_alarm; 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 io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.ToString; import java.util.Date; /** * 电池机房温度告警,八个电池机房 */ @ApiModel(value="电池机房温度告警") @TableName(schema = "db_alarm",value = "tb_batt_station_temp_alarm") @Data @ToString public class BattStationTempAlarm { @TableId(type = IdType.AUTO) private Long id; private Integer stationId; private Integer battGroupId; private Float temp; private Integer level; /*@ApiModelProperty("温度坐标") private String point; @ApiModelProperty("分辨率,格式示例:384*288") private String pixel; @ApiModelProperty("单体编号") private Integer monNum;*/ private Date startTime; private Date endTime; @TableField(exist = false) private String battGroupName; @TableField(exist = false) private String stationName; @TableField(exist = false) private String powerName; }