package com.hotwj.platform.securityManagement.violationInterview.domain.bo;

import com.hotwj.platform.securityManagement.violationInterview.domain.HotViolationInterview;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 违规约谈记录业务对象 hot_violation_interview
 *
 * @author shihongwei
 * @date 2025-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotViolationInterview.class, reverseConvertGenerate = false)
public class HotViolationInterviewBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = {EditGroup.class})
    private Long id;

    /**
     * 违规记录ID
     */
    @NotNull(message = "违规记录ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long violationId;

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 被约谈人
     */
    private String interviewee;

    /**
     * 约谈时间
     */
    private Date interviewTime;

    /**
     * 约谈地点
     */
    private String interviewLocation;

    /**
     * 记录人
     */
    private String recorder;

    /**
     * 约谈人
     */
    private String interviewer;

    /**
     * 约谈原因
     */
    private String interviewReason;

    /**
     * 谈话内容
     */
    private String conversationContent;

    /**
     * 承诺书（图片/PDF）
     */
    private String commitmentLetter;

    /**
     * 约谈照片（图片/PDF）
     */
    private String interviewPhotos;

    /**
     * 约谈人签名
     */
    private String interviewerSignature;

    /**
     * 被约谈人签名
     */
    private String intervieweeSignature;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;


}
