CurrencyHistory
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 0
eloc 10
c 1
b 0
f 0
dl 0
loc 15
ccs 1
cts 1
cp 1
1
<?php
2
3
namespace VictorAvelar\Geld\Models;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Illuminate\Database\Eloquent\SoftDeletes;
7
8
/**
9
 * Class CurrencyHistory
10
 *
11
 * @package VictorAvelar\Geld\Models
12
 * @author Victor Avelar <[email protected]>
13
 */
14
class CurrencyHistory extends Model
15
{
16 2
    use SoftDeletes;
17
18
    protected $table = 'currency_history';
19
20
    protected $fillable = [
21
        'code',
22
        'rate',
23
        'imported_at',
24
    ];
25
26
    protected $casts = [
27
        'imported_at' => 'datetime',
28
        'rate' => 'double',
29
    ];
30
}
31