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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
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:TProductRawMaterials
 * @Description:
 * @author:韩维杰
 * @date 2024/4/22 7:20
 **/
@Data
@TableName(value = "t_product_raw_materials")
public class TProductRawMaterials extends BaseDO {

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

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

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

    @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 = "")
    private String approver;

    @Schema(description = "第一次发布时间",example = "2024-04-19 15:25:35")
    @JsonFormat(pattern = "yyyy-MM-dd")
    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;


}
