package org.qinan.safetyeval.infrastructure.dataobject;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 人员证书数据对象
 *
 * @author safety-eval
 */
@Data
@TableName("org_personnel_cert")
public class OrgPersonnelCertDO {

    private Long id;
    private Long orgId;
    private Long personnelId;
    private String certName;
    private String certTypeCode;
    private String certTypeName;
    private String certCategoryCode;
    private String certCategoryName;
    private String operationCategoryCode;
    private String operationCategoryName;
    private String certNo;
    private String issueOrg;
    private LocalDate validStartDate;
    private LocalDate validEndDate;
    private LocalDate reviewDate;
    private String certAttachmentUrl;

    // ---- GBS默认字段 ----
    private String deleteEnum;
    private String remarks;
    private String createName;
    private String updateName;
    private Long tenantId;
    private Integer version;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createId;
    private Long updateId;
    private String env;
}
