Total Complexity | 3 |
Total Lines | 45 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
5 | class Saving extends Base |
||
6 | { |
||
7 | /** |
||
8 | * This is a custom attribute used to calculate profit distribution |
||
9 | * |
||
10 | * @var bool |
||
11 | */ |
||
12 | public $duration = 0; |
||
13 | |||
14 | /** |
||
15 | * This is a custom attribute used to calculate profit distribution |
||
16 | * |
||
17 | * @var bool |
||
18 | */ |
||
19 | public $distribution = 0; |
||
20 | |||
21 | /** |
||
22 | * Indicates if the model should be timestamped. |
||
23 | * |
||
24 | * @var bool |
||
25 | */ |
||
26 | public $timestamps = false; |
||
27 | |||
28 | /** |
||
29 | * The attributes that are mass assignable. |
||
30 | * |
||
31 | * @var array |
||
32 | */ |
||
33 | protected $fillable = [ |
||
34 | 'amount', |
||
35 | ]; |
||
36 | |||
37 | public function session() |
||
40 | } |
||
41 | |||
42 | public function member() |
||
45 | } |
||
46 | |||
47 | public function fund() |
||
52 |