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;

@Data
@Schema(title = "权限创建")
@EqualsAndHashCode(callSuper = true)
public class PermissionCreateCmd extends Command {
	@Schema(title = "权限标识", requiredMode = Schema.RequiredMode.REQUIRED, type = "string")
	private String slug;

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