package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * PLC异常内容对象 busin_plc_exception
 * 
 * @author zjx
 * @date 2023-09-27
 */

@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("busin_plc_devstatus")
public class BusinPlcDevStatus implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 运行状态 */
    @Excel(name = "运行状态")
    private String run;

    /** 等待状态 */
    @Excel(name = "等待状态")
    private String wait;

    /** 异常发生时间 */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+7")
    private Date execDate;

    /** 设备类型 */
    @Excel(name = "异常设备")
    private String execDev;

}
