package com.zanxiang.game.module.manage.pojo.params;

import com.zanxiang.game.module.manage.enums.GameServerAssignEnum;
import lombok.Data;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import java.util.Set;

/**
 * @author : lingfeng
 * @time : 2024-03-13
 * @description : 区服指派
 */
@Data
public class GameServerAssignParam {

    /**
     * 指派类型
     */
    @NotNull(message = "指派类型不可为空")
    private GameServerAssignEnum assignType;

    /**
     * 区服的主键
     */
    @NotNull(message = "区服主键id不可为空")
    private List<Long> idList;

    /**
     * 指派的人员id
     */
    @NotEmpty(message = "指派的人员id不可为空")
    private Set<Long> assignUserIdList;
}
