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

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.securityManagement.violationInterview.domain.HotViolationInterview;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;


/**
 * 违规约谈记录视图对象 hot_violation_interview
 *
 * @author shihongwei
 * @date 2025-12-17
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotViolationInterview.class)
public class HotViolationInterviewVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 违规记录ID
     */
    @ExcelProperty(value = "违规记录ID")
    private Long violationId;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long companyId;

    /**
     * 被约谈人
     */
    @ExcelProperty(value = "被约谈人")
    private String interviewee;

    /**
     * 约谈时间
     */
    @ExcelProperty(value = "约谈时间")
    private Date interviewTime;

    /**
     * 约谈地点
     */
    @ExcelProperty(value = "约谈地点")
    private String interviewLocation;

    /**
     * 记录人
     */
    @ExcelProperty(value = "记录人")
    private String recorder;

    /**
     * 约谈人
     */
    @ExcelProperty(value = "约谈人")
    private String interviewer;

    /**
     * 约谈原因
     */
    @ExcelProperty(value = "约谈原因")
    private String interviewReason;

    /**
     * 谈话内容
     */
    @ExcelProperty(value = "谈话内容")
    private String conversationContent;

    /**
     * 承诺书（图片/PDF）
     */
    @ExcelProperty(value = "承诺书", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "图=片/PDF")
    private String commitmentLetter;

    /**
     * 约谈照片（图片/PDF）
     */
    @ExcelProperty(value = "约谈照片", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "图=片/PDF")
    private String interviewPhotos;

    /**
     * 约谈人签名
     */
    @ExcelProperty(value = "约谈人签名")
    private String interviewerSignature;

    /**
     * 被约谈人签名
     */
    @ExcelProperty(value = "被约谈人签名")
    private String intervieweeSignature;

    /**
     * 0=正常, 1=已删除
     */
    @ExcelProperty(value = "0=正常, 1=已删除")
    private Long isDeleted;


}
