mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
First attempt, trying to build an import stuff routine.
This commit is contained in:
8
app/models/Importentry.php
Normal file
8
app/models/Importentry.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
class Importentry extends Eloquent {
|
||||
public function importmap()
|
||||
{
|
||||
return $this->belongsTo('Importmap');
|
||||
}
|
||||
}
|
17
app/models/Importmap.php
Normal file
17
app/models/Importmap.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Class Importmap
|
||||
*/
|
||||
class Importmap extends Eloquent
|
||||
{
|
||||
/**
|
||||
* User
|
||||
*
|
||||
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
*/
|
||||
public function user()
|
||||
{
|
||||
return $this->belongsTo('User');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user