belongsTo(Sant::class); } /** * @return mixed */ public function createdBy() { return $this->belongsTo(User::class, 'created_by', 'id'); } /** * @return mixed */ public function updatedBy() { return $this->belongsTo(User::class, 'updated_by', 'id'); } }