belongsTo(User::class); } public function rawMaterialLogs() { return $this->hasMany(RawMaterialLog::class); } }