Add all files
This commit is contained in:
17
app/Http/Resources/PropertyResource.php
Normal file
17
app/Http/Resources/PropertyResource.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Resources;
|
||||
|
||||
use TiMacDonald\JsonApi\JsonApiResource;
|
||||
|
||||
class PropertyResource extends JsonApiResource
|
||||
{
|
||||
public $attributes = [
|
||||
'id',
|
||||
'name',
|
||||
'key',
|
||||
'value',
|
||||
'updated_at',
|
||||
'created_at',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user