1<?php
2
3// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
4// See the LICENCE file in the repository root for full licence text.
5
6namespace App\Models\Forum;
7
8/**
9 * @property int $forum_id
10 * @property int $mark_time
11 * @property int $user_id
12 */
13class ForumTrack extends Model
14{
15 public $incrementing = false;
16 public $timestamps = false;
17
18 protected $casts = ['mark_time' => 'datetime'];
19 protected $dateFormat = 'U';
20 protected $primaryKey = ':composite';
21 protected $primaryKeys = ['forum_id', 'user_id'];
22 protected $table = 'phpbb_forums_track';
23}