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 PermissionVO extends DTO {

	@Schema(title = "权限Id", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private Long permissionId;

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

	@Schema(title = "权限名称", requiredMode = Schema.RequiredMode.REQUIRED)
	private String name;
}
