package org.jeecg.modules.andon.dto;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
@Data
|
public class AndonOrdeDto {
|
/**主键*/
|
@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;
|
/**删除标记*/
|
|
@ApiModelProperty(value = "删除标记")
|
@TableLogic
|
private Integer delFlag;
|
/**产线ID*/
|
|
@ApiModelProperty(value = "产线ID")
|
@Dict(dictTable = "base_factory", dicCode = "id", dicText = "factory_name")
|
private String factoryId;
|
/**安灯类型*/
|
|
@ApiModelProperty(value = "安灯类型")
|
@Dict(dictTable = "andon_button_config", dicCode = "id", dicText = "button_name")
|
private String buttonId;
|
/**安灯人*/
|
|
@Dict(dictTable = "sys_user", dicCode = "id", dicText = "username")
|
@ApiModelProperty(value = "安灯人")
|
private String operator;
|
/**安灯时间*/
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "安灯时间")
|
private Date operateTime;
|
/**安灯等级*/
|
|
@Dict(dicCode = "andon_level")
|
@ApiModelProperty(value = "安灯等级")
|
private String andonLevel;
|
/**响应人*/
|
@Dict(dictTable = "sys_user", dicCode = "id", dicText = "username")
|
|
@ApiModelProperty(value = "响应人")
|
private String responder;
|
/**响应时间*/
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "响应时间")
|
private Date responseTime;
|
/**处理人*/
|
@Dict(dictTable = "sys_user", dicCode = "id", dicText = "username")
|
|
@ApiModelProperty(value = "处理人")
|
private String processor;
|
/**处理完成时间*/
|
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@ApiModelProperty(value = "处理完成时间")
|
private Date processTime;
|
/**安灯状态*/
|
|
@Dict(dicCode = "order_status")
|
@ApiModelProperty(value = "安灯状态")
|
private String orderStatus;
|
/**问题描述*/
|
|
@ApiModelProperty(value = "问题描述")
|
private String problemDescreption;
|
/**处理结果描述*/
|
|
@ApiModelProperty(value = "处理结果描述")
|
private String resolutionDescreption;
|
@ApiModelProperty(value = "一级响应人openId")
|
private String responderOpenId;
|
|
@ApiModelProperty(value = "二级响应人openId")
|
private String secondResponderOpenId;
|
|
@ApiModelProperty(value = "三级响应人openId")
|
private String thirdResponderOpenId;
|
|
|
|
@ApiModelProperty(value = "三级响应人")
|
private String thirdResponder;
|
|
|
|
@ApiModelProperty(value = "二级响应人")
|
private String secondResponder;
|
/**产线名称*/
|
@ApiModelProperty(value = "产线名称")
|
private String factoryName;
|
|
/**产线名称*/
|
@ApiModelProperty(value = "工厂名称")
|
private String parentFactoryName;
|
|
/**一级响应时长*/
|
@ApiModelProperty(value = "一级响应时长")
|
private Integer upgradeResponseDuration;
|
|
|
/**按钮名称*/
|
@ApiModelProperty(value = "按钮名称")
|
private String buttonName;
|
|
|
|
/**
|
* 安灯人名称
|
*/
|
@ApiModelProperty(value = "安灯人名称")
|
private String operatorName;
|
|
/**二级响应时长*/
|
@ApiModelProperty(value = "二级响应时长")
|
private Integer secondUpgradeResponseDuration;
|
|
/**三级级响应时长*/
|
@ApiModelProperty(value = "三级响应时长")
|
private Integer thirdUpgradeResponseDuration;
|
}
|