Re-arrange code. No changes.

This commit is contained in:
James Cole
2016-08-26 06:44:24 +02:00
parent 172634a55a
commit 4c015e2d12
6 changed files with 71 additions and 73 deletions

View File

@@ -40,9 +40,9 @@ use Illuminate\Database\Eloquent\Model;
class PiggyBankRepetition extends Model
{
protected $dates = ['created_at', 'updated_at', 'startdate', 'targetdate'];
protected $fillable = ['piggy_bank_id', 'startdate', 'targetdate', 'currentamount'];
protected $hidden = ['currentamount_encrypted'];
protected $dates = ['created_at', 'updated_at', 'startdate', 'targetdate'];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo