package com.xunhong.erp.turbo.api.rbac.dto.cmd;

import com.alibaba.cola.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

@Data
@Schema(title = "用户角色")
@EqualsAndHashCode(callSuper = true)
public class UserRoleCreateCmd extends Command {
	@Schema(title = "用户ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private Long userId;

	@Schema(title = "角色ID", type = "string", requiredMode = Schema.RequiredMode.REQUIRED)
	private List<Long> roleId;
}
