package com.doumee.dao.business.vo; import com.baomidou.mybatisplus.annotation.TableField; import com.doumee.core.annotation.excel.ExcelColumn; import com.doumee.dao.business.model.Category; import com.doumee.dao.business.model.Multifile; import com.doumee.dao.business.model.Workorder; import com.doumee.dao.business.model.WorkorderLog; import com.doumee.dao.web.dto.DCANoProblemDTO; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Objects; /** * Created by IntelliJ IDEA. * * @Author : Rk * @create 2023/7/13 10:40 */ @Data @ApiModel("SHE工单导出信息") public class WorkorderSheDto { @ApiModelProperty(value = "序号") @ExcelColumn(name="序号",index =1 ,width = 4) private Long index; @ApiModelProperty(value = "工单号") @ExcelColumn(name="工单号",index =2 ,width = 8) private String code; @ApiModelProperty("伤害类型") @ExcelColumn(name="伤害类型",index =3,width = 6) private String typeName; @ApiModelProperty(value = "上报时间", example = "1") @ExcelColumn(name="上报时间",index =4 ,dateFormat = "yyyy-MM-dd HH:mm:ss",width = 10) private Date submitDate; @ApiModelProperty(value = "状态 状态 0待确认/待初审 1待分配/待终审 2待处理 4WTS关闭 5工程师关闭", example = "1") @ExcelColumn(name="状态",index =5,width = 4, valueMapping = "0=待处理;1=处理中;2=处理中;3=已处理;4=已处理;5=已处理;") private Integer status; @ApiModelProperty(value = "发生地点") @ExcelColumn(name="发生地点",index =6,width = 8) private String locationName; @ApiModelProperty(value = "SHE涉及人员供应商集合") @ExcelColumn(name="涉及人员",index =7,width = 8) private String memberNames; @ApiModelProperty(value = "具体位置") @ExcelColumn(name="具体位置",index =8,width = 8) private String remark; @ApiModelProperty(value = "就医情况") @ExcelColumn(name="就医情况",index =9,width = 8) private String jiuyiInfo; @ApiModelProperty(value = "是否和工作相关", example = "1") @ExcelColumn(name="是否和工作相关",index =10,width = 8, valueMapping = "0=否;1=是;") private Integer workRelated; @ApiModelProperty(value = "事件说明", example = "1") @ExcelColumn(name="事件说明",index =11,width = 10) private String eventInfo; @ApiModelProperty("提报人员名称") @ExcelColumn(name="上报员工",index =12,width = 8) private String memberName; @ApiModelProperty("员工手机号") @ExcelColumn(name="员工手机号",index =13,width = 6) private String memberPhone; @ApiModelProperty("提报人员所属部门") @ExcelColumn(name="所属部门",index =14,width = 8) private String companyName; @ApiModelProperty(value = "发现时间") @ExcelColumn(name="发现时间",index =15 ,dateFormat = "yyyy-MM-dd HH:mm:ss",width = 10) private Date happenTime; @ApiModelProperty(value = "提交时间") @ExcelColumn(name="提交时间",index =16 ,dateFormat = "yyyy-MM-dd HH:mm:ss",width = 10) private Date createDate; }