|
@@ -1,8 +1,5 @@
|
|
|
<?php
|
|
<?php
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
namespace App\Models;
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
use Illuminate\Database\Eloquent\Builder;
|
|
@@ -18,9 +15,11 @@ use Laravel\Sanctum\HasApiTokens;
|
|
|
class Keyboard extends Authenticatable
|
|
class Keyboard extends Authenticatable
|
|
|
{
|
|
{
|
|
|
use HasApiTokens, Notifiable;
|
|
use HasApiTokens, Notifiable;
|
|
|
|
|
+
|
|
|
protected $table = 'keyboard';
|
|
protected $table = 'keyboard';
|
|
|
// protected $hidden = ['created_at', 'updated_at'];
|
|
// protected $hidden = ['created_at', 'updated_at'];
|
|
|
- protected $fillable = ['button', 'reply', 'id' ,'buttons' ,'image','language','explain'];
|
|
|
|
|
|
|
+ protected $fillable = ['button', 'reply', 'id', 'buttons', 'image', 'language', 'explain'];
|
|
|
|
|
+
|
|
|
// protected $appends = ['menus_ids', 'menus_uris'];
|
|
// protected $appends = ['menus_ids', 'menus_uris'];
|
|
|
|
|
|
|
|
protected function getCreatedAtAttribute($value)
|
|
protected function getCreatedAtAttribute($value)
|