"""Data class representing an ``<ObjectInserts>`` element in a DMSContent rights section."""

from dataclasses import dataclass


@dataclass
class DmsContentObjectInserts:
    """An insert permission entry from ``<Rights>/<ObjectInserts>``.

    Attributes:
        type: Numeric type identifier for the insertable object type.
        count: Number of insertions allowed or performed.
    """

    type: int
    count: int
