| | |
| | | package com.whyc.pojo.db_lithium_ram_db; |
| | | |
| | | 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; |
| | |
| | | @Data |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @Accessors(chain = true) |
| | | @TableName("tb_workstate_changeevent") |
| | | @TableName(schema = "db_lithium_ram_db",value ="tb_workstate_changeevent") |
| | | @ApiModel(value="WorkstateChangeevent对象", description="设备工作状态切换事件表") |
| | | public class WorkstateChangeevent implements Serializable { |
| | | |
| | |
| | | private Integer nowWorkState; |
| | | |
| | | @ApiModelProperty(value = "设备工作状态切换时间") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date recordTime; |
| | | |
| | | |
| | | @ApiModelProperty(value = "事件描述") |
| | | @TableField(exist = false) |
| | | private String eventStr; |
| | | } |