freescout/freescout-dist/app/MailboxUser.php

28 lines
560 B
PHP
Raw Normal View History

2023-12-22 19:40:32 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
use Watson\Rememberable\Rememberable;
class MailboxUser extends Model
{
use Rememberable;
// This is obligatory.
public $rememberCacheDriver = 'array';
// Action after sending a message
const AFTER_SEND_STAY = 1;
const AFTER_SEND_NEXT = 2;
const AFTER_SEND_FOLDER = 3;
protected $table = 'mailbox_user';
public $timestamps = false;
// Does not work as we receive it via pivot
// protected $casts = [
// 'access' => 'array',
// ];
}