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

import com.xunhong.erp.turbo.base.dto.Command;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author shenyifei
 */
@Data
@Schema(title = "菜单拖拽")
@EqualsAndHashCode(callSuper = true)
public class MenuDragCmd extends Command {

	/**
	 * 相邻元素
	 */
	@Schema(title = "相邻元素前")
	private Long prevId;

	/**
	 * 相邻元素
	 */
	@Schema(title = "相邻元素后")
	private Long nextId;

	/**
	 * 当前元素
	 */
	@Schema(title = "当前元素")
	private Long currentId;
}
