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

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.securityManagement.securityMeetingAttendee.domain.HotSecurityMeetingAttendee;
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_security_meeting_attendee
 *
 * @author shihongwei
 * @date 2026-02-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotSecurityMeetingAttendee.class)
public class HotSecurityMeetingAttendeeVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 公司ID（由应用层保证必填）
     */
    @ExcelProperty(value = "公司ID", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "由=应用层保证必填")
    private Long companyId;

    /**
     * 人员ID
     */
    @ExcelProperty(value = "人员ID")
    private String personId;

    /**
     * 姓名
     */
    @ExcelProperty(value = "姓名")
    private String name;

    /**
     * 手机号
     */
    @ExcelProperty(value = "手机号")
    private String phone;

    /**
     * 岗位
     */
    private String post;

    /**
     * 会议ID
     */
    @ExcelProperty(value = "会议ID")
    private Long meetingId;

    /**
     * 参会人员照片OSS ID
     */
    @ExcelProperty(value = "参会人员照片OSS ID")
    private Long attendeePhotoOssId;

    /**
     * 参会人员签名OSS ID
     */
    @ExcelProperty(value = "参会人员签名OSS ID")
    private Long attendeeSignOssId;

    /**
     * 参会人员照片URL
     */
    @ExcelProperty(value = "参会人员照片URL")
    private String attendeePhotoUrl;

    /**
     * 参会人员签名URL
     */
    @ExcelProperty(value = "参会人员签名URL")
    private String attendeeSignUrl;

    /**
     * 完成时间
     */
    @ExcelProperty(value = "完成时间")
    private Date finishTime;

    /**
     * 创建者姓名
     */
    @ExcelProperty(value = "创建者姓名")
    private String createByName;

    /**
     * 更新者姓名
     */
    @ExcelProperty(value = "更新者姓名")
    private String updateByName;

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


}
