package org.xyzh.api.workcase.dto;

import java.util.Date;

import org.xyzh.common.dto.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @description    会议参与记录表数据对象DTO
 * @filename    TbMeetingParticipantDTO.java
 * @author    cascade
 * @copyright xyzh
 * @since 2025-12-22
 */
@Data
@Schema(description = "会议参与记录表对象")
public class TbMeetingParticipantDTO extends BaseDTO {
    private static final long serialVersionUID = 1L;

    @Schema(description = "参与记录ID")
    private String participantId;

    @Schema(description = "会议ID")
    private String meetingId;

    @Schema(description = "用户ID")
    private String userId;

    @Schema(description = "用户类型：guest-来客 agent-客服")
    private String userType;

    @Schema(description = "用户名称")
    private String userName;

    @Schema(description = "加入时间")
    private Date joinTime;

    @Schema(description = "离开时间")
    private Date leaveTime;

    @Schema(description = "参与时长（秒）")
    private Integer durationSeconds;

    @Schema(description = "是否主持人")
    private Boolean isModerator;

    @Schema(description = "加入方式：web-网页 mobile-移动端 desktop-桌面端")
    private String joinMethod;

    @Schema(description = "设备信息")
    private String deviceInfo;
}
