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

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

@Data
@Schema(title = "用户角色")
@EqualsAndHashCode(callSuper = true)
public class UserRoleVO extends DTO {

	@Schema(title = "角色名称", requiredMode = Schema.RequiredMode.REQUIRED)
	private String name;

	@Schema(title = "角色标识", requiredMode = Schema.RequiredMode.REQUIRED)
	private String slug;

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

	@Schema(title = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long userId;

	@Schema(title = "描述", requiredMode = Schema.RequiredMode.REQUIRED)
	private String description;

	@Schema(title = "平台ID", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long platformId;
}
