package org.dromara.safety.domain.vo;

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.safety.domain.BusTeamMeeting;

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


/**
 * 站班会视图对象 bus_team_meeting
 *
 * @author lcj
 * @date 2025-03-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = BusTeamMeeting.class)
public class BusTeamMeetingVo 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 IdAndNameVO team;

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

    /**
     * 分包公司
     */
    private IdAndNameVO contractor;

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

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

    /**
     * 宣讲人
     */
    private IdAndNameVO compere;

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

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

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

    /**
     * 班会图片（多个用，号隔开）
     */
/*    @ExcelProperty(value = "班会图片", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "多=个用，号隔开")
    private String picture;*/

    /**
     * 班会图片Url
     */
    private List<IdAndNameVO> pictureUrl;

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

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

}
