| 1 | <?php |
||
| 8 | class PolarNotification extends Model |
||
| 9 | { |
||
| 10 | protected $table = 'polar_notifications'; |
||
| 11 | |||
| 12 | protected $guarded = []; |
||
| 13 | |||
| 14 | protected $hidden = []; |
||
| 15 | |||
| 16 | protected $casts = [ |
||
| 17 | 'id' => 'int', |
||
| 18 | 'user_id' => 'int', |
||
| 19 | 'extra' => 'array', |
||
| 20 | 'read' => 'bool', |
||
| 21 | ]; |
||
| 22 | |||
| 23 | public function user() |
||
| 27 | } |
||
| 28 |