package org.dromara.main.domain.vo;

import cn.idev.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.main.domain.CsSeatConfig;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 坐席配置视图对象
 */
@Data
@AutoMapper(target = CsSeatConfig.class)
public class CsSeatConfigVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 坐席ID
     */
    @ExcelProperty(value = "坐席ID")
    private Long id;

    /**
     * 坐席名称
     */
    @ExcelProperty(value = "坐席名称")
    private String seatName;

    /**
     * 坐席头像URL
     */
    @ExcelProperty(value = "坐席头像")
    private String avatar;

    /**
     * 负责模块
     */
    @ExcelProperty(value = "负责模块")
    private String module;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private Integer status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private LocalDateTime createTime;

    /**
     * 关联的客服人员列表
     */
    private List<WaiterInfo> waiters;

    @Data
    public static class WaiterInfo {
        private Long userId;
        private String userName;
        private String nickName;
    }
}
