whyclxw
2024-11-25 4fc7909358cc62231c81b8e871749fc1b3fa69bd
src/main/java/com/whyc/pojo/db_lithium_ram_db/WorkstateChangeevent.java
@@ -1,8 +1,10 @@
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;
@@ -23,7 +25,7 @@
@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 {
@@ -46,7 +48,10 @@
    private Integer nowWorkState;
    @ApiModelProperty(value = "设备工作状态切换时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date recordTime;
    @ApiModelProperty(value = "事件描述")
    @TableField(exist = false)
    private String eventStr;
}