%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/crm-ind-code/app/Models/
Upload File :
Create Path :
Current File : /home/silvzytp/crm-ind-code/app/Models/CallingStatus.php

<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class CallingStatus extends Model
{
    use HasFactory;

    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = ['name','status'];

    public function subStatuses(){
        return $this->hasMany(CallingSubStatus::class,'status_id','id');
    }

    public function callings()
    {
        return $this->hasMany(Colling::class,'status','id');
    }
}

Zerion Mini Shell 1.0