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
ConversionStatus
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;
7use Illuminate\Database\Eloquent\Relations\HasOne;
8use Illuminate\Database\Eloquent\Relations\HasMany;
9use Illuminate\Database\Eloquent\Relations\BelongsTo;
10use Illuminate\Database\Eloquent\Relations\BelongsToMany;
11
12class ConversionStatus extends Model
13{
14    use HasFactory;
15
16    protected $table = "conversion_statuses";
17
18    /**
19     * Serialization
20     */
21    public function jsonSerialize()
22    {
23        return [
24            'id' => $this->id,
25            'name' => $this->name,
26        ];
27    } // jsonSerialize
28}