001package com.studentgui.apphelpers.dto;
002
003/**
004 * Common interface for session-scoped payloads that carry a DB session id.
005 */
006public interface SessionPayload {
007    /**
008     * Return the database session id associated with this payload.
009     *
010     * @return the database session id for this payload (may be 0 when unknown)
011     */
012    int getSessionId();
013}