package com.ho.user.vo.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 用户 岗位id 对照
 */
@Data
public class UserPostOperationReqVO {

    @ApiModelProperty(value = "用户id")
    @NotBlank(message = "用户id不能为空")
    private String userId;

    @ApiModelProperty(value = "岗位id集合")
    @NotEmpty(message = "岗位id集合不能为空")
    private List<Integer> postIds;
}
