package org.dromara.safety.domain.vo.teammeeting;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.core.domain.vo.IdAndNameVO;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.safety.domain.HseTeamMeeting;

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


/**
 * 站班会视图对象 hse_team_meeting
 *
 * @author lcj
 * @date 2025-03-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HseTeamMeeting.class)
public class HseTeamMeetingVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 项目id
     */
    @ExcelProperty(value = "项目id")
    private Long projectId;

    /**
     * 班组id
     */
    @ExcelProperty(value = "班组id")
    private Long teamId;

    /**
     * 班组名称
     */
    private String teamName;

    /**
     * 分包公司id
     */
    @ExcelProperty(value = "分包公司id")
    private Long contractorId;

    /**
     * 分包公司
     */
    private String contractorName;

    /**
     * 开会时间
     */
    @ExcelProperty(value = "开会时间")
    private Date meetingDate;

    /**
     * 宣讲人
     */
    @ExcelProperty(value = "宣讲人")
    private Long compereId;

    /**
     * 宣讲人
     */
    private String compereName;

    /**
     * 参与人id（多个用，号隔开）
     */
    @ExcelProperty(value = "参与人id", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "多=个用，号隔开")
    private String participantId;

    /**
     * 参与人列表
     */
    private List<IdAndNameVO> participantList;

    /**
     * 班会内容
     */
    @ExcelProperty(value = "班会内容")
    private String content;

    /**
     * 班会图片（多个用，号隔开）
     */
    @ExcelProperty(value = "班会图片")
    private String picture;

    /**
     * 班会图片列表
     */
    private List<String> pictureUrlList;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 创建时间
     */
    private Date createTime;

}
