Merge branches 'staging' and 'staging' of itcorp.primaya.id:rajif/aso into staging

This commit is contained in:
2023-09-19 14:54:29 +07:00
10 changed files with 349 additions and 5 deletions

View File

@@ -43,6 +43,7 @@ class File extends Model
'claim-result' => 'claim/',
'claim-diagnosis' => 'claim/',
'claim-kondisi' => 'claim/',
'docs' => 'docs/',
];
public function fileable()

14
app/Models/FilesDoc.php Normal file
View File

@@ -0,0 +1,14 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class FilesDoc extends Model
{
use HasFactory;
protected $table = 'files_doc';
protected $primaryKey = 'id';
protected $fillable = ['corporate_id', 'original_name', 'path','status_download', 'created_by','updated_by', 'created_at', 'updated_at'];
}