<?php
/**
 * @link https://craftcms.com/
 * @copyright Copyright (c) Pixel & Tonic, Inc.
 * @license https://craftcms.github.io/license/
 */

namespace craft\events;

use craft\base\Event;

/**
 * Merged elements event class.
 *
 * @author Pixel & Tonic, Inc. <support@pixelandtonic.com>
 * @since 3.0.0
 */
class MergeElementsEvent extends Event
{
    /**
     * @var int The ID of the element that just got merged into the other.
     */
    public int $mergedElementId;

    /**
     * @var int The ID of the element that prevailed in the merge.
     */
    public int $prevailingElementId;
}
