package org.jeecg.modules.andon.entity; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; 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; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import org.jeecg.common.aspect.annotation.Dict; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.io.Serializable; import java.util.Date; /** * @Description: 安灯按钮配置 * @Author: jeecg-boot * @Date: 2025-07-10 * @Version: V1.0 */ @Data @TableName("andon_button_config") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="andon_button_config对象", description="安灯按钮配置") public class AndonButtonConfig implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**创建人*/ @ApiModelProperty(value = "创建人") private String createBy; /**创建日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建日期") private Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新日期*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "更新日期") private Date updateTime; /**删除标记*/ @Excel(name = "删除标记", width = 15) @ApiModelProperty(value = "删除标记") @TableLogic private Integer delFlag; /**安灯名称*/ @Excel(name = "安灯名称", width = 15) @ApiModelProperty(value = "安灯名称") private String buttonName; /**安灯编码*/ @Excel(name = "安灯编码", width = 15) @ApiModelProperty(value = "安灯编码") private String buttonCode; /**升级响应时长(分钟)*/ @Excel(name = "升级响应时长(分钟)", width = 15) @ApiModelProperty(value = "升级响应时长(分钟)") private Integer upgradeResponseDuration; /**升级处理时长(分钟)*/ @Excel(name = "升级处理时长(分钟)", width = 15) @ApiModelProperty(value = "升级处理时长(分钟)") private Integer upgradeProcessDuration; /**二次升级响应时长(分钟)*/ @Excel(name = "二次升级响应时长(分钟)", width = 15) @ApiModelProperty(value = "二次升级响应时长(分钟)") private Integer secondUpgradeResponseDuration; /**二次升级处理时长(分钟)*/ @Excel(name = "二次升级处理时长(分钟)", width = 15) @ApiModelProperty(value = "二次升级处理时长(分钟)") private Integer secondUpgradeProcessDuration; /**安灯按钮状态*/ @Excel(name = "安灯按钮状态", width = 15, dicCode = "button_status") @Dict(dicCode = "button_status") @ApiModelProperty(value = "安灯按钮状态") private String buttonStatus; /**备注*/ @Excel(name = "备注", width = 15) @ApiModelProperty(value = "备注") private String remark; }