package cn.iocoder.yudao.module.knowledge.controller.responsevo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import cn.iocoder.yudao.module.knowledge.entity.TOperationProcedureCore;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @packageName:cn.iocoder.yudao.module.knowledge.controller.responsevo
 * @className:TOperaDocmentvo
 * @Description:
 * @author:韩维杰
 * @date 2024/4/25 12:32
 **/
@Data
public class TOperaDocmentvo {

    @Schema(description = "主键id", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "操作文件中文名称",example = "a.pdf")
    private String cnName;

    @Schema(description = "操作文件英文名",example = "a.pdf")
    private String enName;

    @Schema(description = "版本",example = "1.0")
    private String version;

    @Schema(description = "文件编码",example = "ABC123")
    private String fileCode;

    @Schema(description = "二维码编码",example = "RZ2024001")
    private String qrCode;

    @Schema(description = "标签",example = "0:标准操作程序模版, 1：产品原料标准模版, 2：工艺设备标准模版")
    private String tag;

    @Schema(description = "文件路径",example = "")
    private String url;

    @Schema(description = "操作文件编码",example = "")
    private String operationDocumentCode;

    @Schema(description = "单位名称",example = "")
    private String unitName;

    @Schema(description = "作业名称/人数",example = "")
    private String jobName;

    @Schema(description = "编号",example = "")
    private String code;

    @Schema(description = "劳保用品",example = "")
    private String labour;

    @Schema(description = "使用工具/材料",example = "")
    private String tool;

    @Schema(description = "作业环境",example = "")
    private String environment;

    @Schema(description = "编制人/日期",example = "")
    private String organizer;

    @Schema(description = "审核人/日期",example = "")
    private String auditor;

    @Schema(description = "批准人/日期",example = "")
    private String approver;

    @Schema(description = "批准人/日期",example = "")
    private List<TOperationProcedureCore> czTableDatas;


    @Schema(description = "原编码",example = "")
    private String originalCode;

    @Schema(description = "受控状态",example = "")
    private String controlledState;

    @Schema(description = "发布时间",example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

    @Schema(description = "实施时间",example = "")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date implementationTime;

    @Schema(description = "顺序号",example = "")
    private String sn;

    @Schema(description = "系列",example = "")
    private String series;

    @Schema(description = "具体操作",example = "")
    private String concreteOperations;

    @Schema(description = "变化内容",example = "")
    private String changeContent;

    @Schema(description = "标准归口",example = "")
    private String attribute;

    @Schema(description = "起草单位",example = "")
    private String draftingUnit;

    @Schema(description = "起草人",example = "")
    private String rapporteur;


    @Schema(description = "第一次发布时间",example = "2024-04-19 15:25:35")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date firstReleaseTime;

    @Schema(description = "符号",example = "")
    private String symbol;

    @Schema(description = "目的",example = "")
    private String purpose;

    @Schema(description = "适用范围",example = "")
    private String scopeOfApplication;

    @Schema(description = "术语",example = "")
    private String term;

    @Schema(description = "引用文件",example = "")
    private String referenceFile;

    @Schema(description = "要求",example = "")
    private String requires;

    @Schema(description = "实验方法",example = "")
    private String experimentalMethod;

    @Schema(description = "组批",example = "")
    private String lotGrouping;

    @Schema(description = "取样",example = "")
    private String sampling;

    @Schema(description = "质量结果判定",example = "")
    private String resultDetermination;

    @Schema(description = "不合格处置方式",example = "")
    private String disposalMethod;

    @Schema(description = "称重",example = "")
    private String weigh;

    @Schema(description = "发放范围",example = "")
    private String distributionScope;


    @Schema(description = "内容",example = "")
    private List<String> content;

    @Schema(description = "x/x",example = "")
    private String setx;


    //工艺设备字段

    @Schema(description = "要求")
    private String require;

    @Schema(description = "相关文件")
    private String relevantFile;

    @Schema(description = "相关记录")
    private String relevantRecord;


}
