add test batches
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class AdminNotificationSubject extends BaseModel
|
||||
{
|
||||
protected $table = 'admin_notification_subjects';
|
||||
@@ -14,8 +16,7 @@ class AdminNotificationSubject extends BaseModel
|
||||
];
|
||||
|
||||
// legacy uses created_at / updated_at
|
||||
public $timestamps = true;
|
||||
|
||||
public $timestamps = true;
|
||||
protected $casts = [
|
||||
'admin_id' => 'integer',
|
||||
];
|
||||
@@ -25,4 +26,4 @@ class AdminNotificationSubject extends BaseModel
|
||||
{
|
||||
return $this->belongsTo(User::class, 'admin_id');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user