package com.microservices.system.domain.dto;

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

import javax.validation.constraints.NotNull;

/**
 * @author otto
 */
@Data
@ApiModel("部门与GitLink用户及用户对应角色的关联输入对象")
public class GitLinkUserDeptRoleByDeptInput {
    /**
     * 用户ID
     */
    @ApiModelProperty(value = "GitLink用户ID", required = true)
    @NotNull
    private Long gitLinkUserId;

    /**
     * 角色ID
     */
    @ApiModelProperty(value = "角色ID", required = true)
    @NotNull
    private Long roleId;
}
