mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 00:04:24 +00:00
New and old code.
This commit is contained in:
14
app/Models/Account.php
Normal file
14
app/Models/Account.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* Class Account
|
||||
*
|
||||
* @package FireflyIII\Models
|
||||
*/
|
||||
class Account extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/AccountMeta.php
Normal file
9
app/Models/AccountMeta.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AccountMeta extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/AccountType.php
Normal file
9
app/Models/AccountType.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class AccountType extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Bill.php
Normal file
9
app/Models/Bill.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Bill extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Budget.php
Normal file
9
app/Models/Budget.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Budget extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/BudgetLimit.php
Normal file
9
app/Models/BudgetLimit.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class BudgetLimit extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Category.php
Normal file
9
app/Models/Category.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Category extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Component.php
Normal file
9
app/Models/Component.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Component extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/LimitRepetition.php
Normal file
9
app/Models/LimitRepetition.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class LimitRepetition extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/PiggyBank.php
Normal file
9
app/Models/PiggyBank.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PiggyBank extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/PiggyBankEvent.php
Normal file
9
app/Models/PiggyBankEvent.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PiggyBankEvent extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/PiggyBankRepetition.php
Normal file
9
app/Models/PiggyBankRepetition.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PiggyBankRepetition extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Preference.php
Normal file
9
app/Models/Preference.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Preference extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Reminder.php
Normal file
9
app/Models/Reminder.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Reminder extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/Transaction.php
Normal file
9
app/Models/Transaction.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Transaction extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/TransactionCurrency.php
Normal file
9
app/Models/TransactionCurrency.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TransactionCurrency extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/TransactionGroup.php
Normal file
9
app/Models/TransactionGroup.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TransactionGroup extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/TransactionJournal.php
Normal file
9
app/Models/TransactionJournal.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TransactionJournal extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/TransactionRelation.php
Normal file
9
app/Models/TransactionRelation.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TransactionRelation extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
9
app/Models/TransactionType.php
Normal file
9
app/Models/TransactionType.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class TransactionType extends Model {
|
||||
|
||||
//
|
||||
|
||||
}
|
34
app/Models/User.php
Normal file
34
app/Models/User.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php namespace FireflyIII\Models;
|
||||
|
||||
use Illuminate\Auth\Authenticatable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Auth\Passwords\CanResetPassword;
|
||||
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
|
||||
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
|
||||
|
||||
class User extends Model implements AuthenticatableContract, CanResetPasswordContract {
|
||||
|
||||
use Authenticatable, CanResetPassword;
|
||||
|
||||
/**
|
||||
* The database table used by the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'users';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['name', 'email', 'password'];
|
||||
|
||||
/**
|
||||
* The attributes excluded from the model's JSON form.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = ['password', 'remember_token'];
|
||||
|
||||
}
|
Reference in New Issue
Block a user