whyclxw
4 天以前 bfa320956f20988fe671b0c4d25aa82fe766a98d
src/main/java/com/whyc/pojo/SOP.java
@@ -1,6 +1,7 @@
package com.whyc.pojo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
@@ -10,6 +11,7 @@
/**
 * SOP:操作指导书
 */
@TableName("tb_sop")
public class SOP {
    private Integer id;
@@ -38,12 +40,18 @@
    /**文件url*/
    private String fileUrl;
    /**通用表示(0:非通用,1:通用)*/
    private int currentFlag;
    /**是否有效*/
    private Integer status;
    /**
     * [
     *      {"组装":["组1","组2"]},
     *      {"测试":["测1","测2"}
     * ]
     */
    @TableField(exist = false)
    private List<Map<String,List<String>>> fileTypeList;
    @TableField(exist = false)
@@ -160,4 +168,21 @@
    public void setFileTypeList(List<Map<String, List<String>>> fileTypeList) {
        this.fileTypeList = fileTypeList;
    }
    public int getCurrentFlag() {
        return currentFlag;
    }
    public void setCurrentFlag(int currentFlag) {
        this.currentFlag = currentFlag;
    }
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
}