package com.jwipc.supplier.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 资质信息表
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-07
 */
@Getter
@Setter
@TableName("t_qualification")
public class Qualification implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 资质编码
     */
    private String code;

    /**
     * 资质名称
     */
    private String name;

    /**
     * 版本，用户自由设定
     */
    private String version;

    /**
     * 适用场景1:资质;2:协议;3:认证报告
     */
    private Integer scene;

    /**
     * 资质文件id
     */
    private Long fileId;

    /**
     * 状态: 1-正常，2-禁用
     */
    private Integer state;

    /**
     * 创建人id
     */
    private Long createId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 备注
     */
    private String remark;
}
