add tests batch 20
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class FamilyCommPref extends BaseModel
|
||||
{
|
||||
protected $table = 'family_comm_prefs';
|
||||
@@ -18,10 +20,10 @@ class FamilyCommPref extends BaseModel
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'family_id' => 'integer',
|
||||
'via_email' => 'boolean',
|
||||
'via_sms' => 'boolean',
|
||||
'cc_all_guardians' => 'boolean',
|
||||
'family_id' => 'integer',
|
||||
'via_email' => 'boolean',
|
||||
'via_sms' => 'boolean',
|
||||
'cc_all_guardians' => 'boolean',
|
||||
];
|
||||
|
||||
// Optional relationship
|
||||
@@ -29,4 +31,4 @@ class FamilyCommPref extends BaseModel
|
||||
{
|
||||
return $this->belongsTo(Family::class, 'family_id');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user