package com.yuchen.saas.manage.system.api.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;


@Data
@ApiModel(value = "MoveDeptParam")
public class MoveDeptParam {
    @Size(min = 1)
    @ApiModelProperty(value = "当前部门id")
    private List<Long> deptId;

    @NotNull
    @ApiModelProperty(value = "移至目标部门id")
    private Long toDeptId;
}
