package org.dromara.main.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("main_back_record")
public class MainBackRecord extends BaseEntity {

    @TableId(value = "id")
    private Long id;

    /** 关联订单ID */
    private Long orderId;

    /** 关联企业候选人ID */
    private Long candidateId;

    /** 背调状态 */
    private String status;

    /** 报告状态(0待填写, 1已出具) */
    private Integer reportStatus;

    /** 报告地址 */
    private String reportUrl;

    /** 完成时间 */
    private LocalDateTime finishTime;

    /** 删除标志 */
    @TableLogic
    private String delFlag;
}
