changes to sms packages and option to create user
This commit is contained in:
@@ -15,22 +15,24 @@ class Segment extends Model
|
||||
'name',
|
||||
'description',
|
||||
'active',
|
||||
'exclude'
|
||||
'exclude',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'active' => 'boolean',
|
||||
'exclude' => 'boolean'
|
||||
'exclude' => 'boolean',
|
||||
];
|
||||
}
|
||||
|
||||
public function contracts(): BelongsToMany {
|
||||
public function contracts(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(\App\Models\Contract::class);
|
||||
}
|
||||
|
||||
public function clientCase(): BelongsToMany {
|
||||
public function clientCase(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(\App\Models\ClientCase::class)->withTimestamps();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user