package org.dromara.main.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
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 org.dromara.main.domain.CsSeatConfig;

import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = CsSeatConfig.class, reverseConvertGenerate = false)
public class CsSeatConfigBo extends BaseEntity {

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

    /**
     * 坐席名称
     */
    @NotBlank(message = "坐席名称不能为空", groups = {AddGroup.class, EditGroup.class})
    private String seatName;

    /**
     * 坐席头像URL
     */
    private String avatar;

    /**
     * 负责模块
     */
    @NotBlank(message = "负责模块不能为空", groups = {AddGroup.class, EditGroup.class})
    private String module;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 关联的客服人员ID列表
     */
    private List<Long> waiterIds;
}
