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

import com.hotwj.platform.securityManagement.securityMeetingAttendee.domain.HotSecurityMeetingAttendee;
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_security_meeting_attendee
 *
 * @author shihongwei
 * @date 2026-02-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotSecurityMeetingAttendee.class, reverseConvertGenerate = false)
public class HotSecurityMeetingAttendeeBo extends BaseEntity {

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

    /**
     * 公司ID（由应用层保证必填）
     */
    @NotNull(message = "公司ID（由应用层保证必填）不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long companyId;

    /**
     * 人员ID
     */
    private String personId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phone;

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

    /**
     * 会议ID
     */
    private Long meetingId;

    /**
     * 参会人员照片OSS ID
     */
    private Long attendeePhotoOssId;

    /**
     * 参会人员签名OSS ID
     */
    private Long attendeeSignOssId;

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

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


}
