updated rayon
This commit is contained in:
@@ -11,4 +11,9 @@ class Rayon extends Model
|
||||
|
||||
protected $table = 'rayon';
|
||||
protected $fillable = ['code', 'name', 'cabang_id'];
|
||||
|
||||
public function cabang()
|
||||
{
|
||||
return $this->belongsTo('App\Models\Cabang');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user