restore composer.json, add mysqli extension
This commit is contained in:
25
app/Models/Notification.php
Executable file
25
app/Models/Notification.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* package App\Models
|
||||
* @property int $id
|
||||
* @property string $title
|
||||
* @property string $body
|
||||
* @property string $language // [uz, ru], ru is default
|
||||
*/
|
||||
class Notification extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'title', 'body', 'language'
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'title' => 'string',
|
||||
'body' => 'string',
|
||||
'language' => 'string',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user