feat(jobs): tambahkan job untuk memproses data parameter narasi
- Menambahkan kelas ProcessStmtNarrParamDataJob untuk memproses file CSV. - Membuat model TempStmtNarrParam untuk menyimpan data parameter narasi. - Menambahkan migrasi untuk membuat tabel temp_stmt_narr_param di database.
This commit is contained in:
23
app/Models/TempStmtNarrParam.php
Normal file
23
app/Models/TempStmtNarrParam.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Webstatement\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
// use Modules\Webstatement\Database\Factories\TempStmtNarrParamFactory;
|
||||
|
||||
class TempStmtNarrParam extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
protected $table = 'temp_stmt_narr_param';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*/
|
||||
protected $fillable = ['_id','date_time','system_id','field_name','field_operand','field_value','narr_format','record_status','curr_no','inputter','authoriser','co_code','dept_code','auditor_code','audit_date_time','nr_prm_id','k_file','file'];
|
||||
|
||||
// protected static function newFactory(): TempStmtNarrParamFactory
|
||||
// {
|
||||
// // return TempStmtNarrParamFactory::new();
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user