fix files

This commit is contained in:
hafifierahman
2022-04-12 11:00:52 +08:00
parent c401f17f7d
commit 62d1252f4e
4 changed files with 62 additions and 4 deletions
+32
View File
@@ -0,0 +1,32 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class KPFiles extends Model
{
protected $table = 'kelulusanpb_files';
public $timestamps = false;
protected $connection = 'mysql7';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'kp_id',
'data',
'filename',
'type',
'tarikhmasa'
];
/**
* The attributes excluded from the model's JSON form.
*
* @var array
*/
// protected $hidden = [];
}