package com.red.circle.console.app.dto.cmd.admin;

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 修改角色菜单.
 * </p>
 *
 * @author pengliang
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class RoleMenuUpdateCmd extends CommonCommand {

  private static final long serialVersionUID = 1L;

  /**
   * 记录id.
   */
  @NotNull
  private Integer id;

  /**
   * 菜单id.
   */
  @NotEmpty
  private List<Integer> menuIds;

}
