restore composer.json, add mysqli extension
This commit is contained in:
43
app/Models/Company.php
Executable file
43
app/Models/Company.php
Executable file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
/**
|
||||
* @package App\Models
|
||||
* @property int $id
|
||||
* @property string $company_name
|
||||
* @property string $inn
|
||||
* @property string $bank_name
|
||||
* @property string $mfo
|
||||
* @property string $oked
|
||||
* @property array $address
|
||||
* @property string $payment_account
|
||||
* @property string $phone
|
||||
* @property string $director_full_name
|
||||
*/
|
||||
class Company extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'company_name',
|
||||
'inn',
|
||||
'bank_name',
|
||||
'mfo',
|
||||
'oked',
|
||||
'address',
|
||||
'director_full_name',
|
||||
'payment_account',
|
||||
'phone',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'address' => 'array',
|
||||
"company_name" => "array",
|
||||
"director_full_name" => "array",
|
||||
"bank_name" => "array",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user