add dashboard, fix get data scraping, fix table
This commit is contained in:
36
app/Models/PbgTask.php
Normal file
36
app/Models/PbgTask.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PbgTask extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'pbg_task';
|
||||
protected $fillable = [
|
||||
'uuid',
|
||||
'name',
|
||||
'owner_name',
|
||||
'application_type',
|
||||
'application_type_name',
|
||||
'condition',
|
||||
'registration_number',
|
||||
'document_number',
|
||||
'address',
|
||||
'status',
|
||||
'status_name',
|
||||
'slf_status',
|
||||
'slf_status_name',
|
||||
'function_type',
|
||||
'consultation_type',
|
||||
'due_date',
|
||||
'land_certificate_phase',
|
||||
'task_created_at'
|
||||
];
|
||||
|
||||
public function retributions(){
|
||||
return $this->hasOne(PbgTaskRetributions::class, 'pbg_task_uid', 'uuid');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user