Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
CRAP
0.00% covered (danger)
0.00%
0 / 1
ConversionCurrency
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 jsonSerialize
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace App\Models;
4
5use Illuminate\Database\Eloquent\Factories\HasFactory;
6use Illuminate\Database\Eloquent\Model;
7
8class ConversionCurrency extends Model
9{
10    use HasFactory;
11
12    protected $table = "conversion_currencies";
13
14    /**
15     * Json Serialize
16     *
17     */
18    public function jsonSerialize()
19    {
20        return [
21            'id' => $this->id,
22            'name' => $this->name,
23        ];
24
25    } // jsonSerialize
26}