package cn.iocoder.yudao.module.knowledge.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.knowledge.annotation.ExcelOut;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @packageName:cn.iocoder.yudao.module.knowledge.entity
 * @className:TOperationDocument
 * @Description:
 * @author:韩维杰
 * @date 2024/4/19 15:30
 **/
@Data
@TableName("t_operation_document")
public class TOperationDocument   {

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

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

    @ExcelOut(name = "操作文件中文名称", sort = 1, width = 20)
    private String cnName;

    @TableField(exist = false)
    private String name;

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

    @Schema(description = "操作文件大小",example = "30kb")
    private String fileSize;

    @Schema(description = "版本",example = "1.0")
    @ExcelOut(name = "版本", sort = 4, width = 20)
    private String version;

    @Schema(description = "文件编码",example = "ABC123")
    @ExcelOut(name = "文件编码", sort = 2, width = 20)
    private String fileCode;

    private String fileName;

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

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

    @Schema(description = "文件路径",example = "")

    @ExcelOut(name = "文件路径", sort = 3, width = 20,isFileUrl = true)
    private String url;



    @TableField(exist = false)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTimes;




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

    @TableField(exist = false)
    private String des;
    //具体内容
    private String specificContent;
    //结果判定
    private String resultDetermination;
}
