# StatsEvent properties

## $id <a href="#id" id="id"></a>

The id of the event in the database.

## $type <a href="#type" id="type"></a>

The type of the stats event, matching the name of the class that generated it.

## $subType <a href="#subtype" id="subtype"></a>

The sub-type of the stats event.

## $resolution <a href="#resolution" id="resolution"></a>

The time frame resolution used by this event. One of the available [`STATS_EVENT_TIME_RESOLUTION_?`](https://cherrycake.tin.cat/reference/core-classes/statsevent/..#constants) constants.

## $timestamp <a href="#dateadded" id="dateadded"></a>

The timestamp this event was added to the event log.

## $isSecondaryId <a href="#issecondaryid" id="issecondaryid"></a>

Whether this [StatsEvent](https://cherrycake.tin.cat/reference/core-classes/statsevent) uses secondary id or not.

## $secondary\_id <a href="#secondary_id" id="secondary_id"></a>

The secondary if for this event.

## $isTertiaryId <a href="#istertiaryid" id="istertiaryid"></a>

Whether this [StatsEvent](https://cherrycake.tin.cat/reference/core-classes/statsevent) uses tertiary id or not.

## $tertiary\_id <a href="#tertiary-id" id="tertiary-id"></a>

The tertiary if for this event.

## $count <a href="#count" id="count"></a>

The number of times this stats event has been triggered during the time frame specified by this event's `resolution` and `timestamp`.
