10, 'email' => 5, 'phone' => 2, 'website' => 2, 'address' => 1, ]; public function invoices() { return $this->hasMany('App\Models\Income\Invoice'); } public function revenues() { return $this->hasMany('App\Models\Income\Revenue'); } public function currency() { return $this->belongsTo('App\Models\Setting\Currency', 'currency_code', 'code'); } public function user() { return $this->belongsTo('App\Models\Auth\User', 'user_id', 'id'); } public function onCloning($src, $child = null) { $this->user_id = null; } }