package com.jkcredit.invoice.hub.model.dto.userRolePermission;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @description:
 * @author: xusonglin
 * @create: 2020/1/13 17:35
 * @version: V1.0
 **/
@Data
public class UserRolePermissionDto implements Serializable {
    private static final long serialVersionUID = 6147146470889440364L;
    @NotNull(message = "用户id不能为空")
    private Long userId;
    @NotNull(message = "角色id不能为空")
    private Long roleId;
}
