feat(jobs): tambahkan job untuk memproses data format narasi

- Menambahkan kelas ProcessStmtNarrFormatDataJob untuk memproses file CSV.
- Menambahkan model TempStmtNarrFormat untuk menyimpan data format narasi.
- Membuat migrasi untuk tabel temp_stmt_narr_format dengan atribut yang diperlukan.
This commit is contained in:
Daeng Deni Mardaeni
2025-01-29 19:43:16 +07:00
parent e5650c6c78
commit 154fb642b1
3 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
namespace Modules\Webstatement\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
// use Modules\Webstatement\Database\Factories\TempStmtNarrFormatFactory;
class TempStmtNarrFormat extends Model
{
use HasFactory;
protected $table = 'temp_stmt_narr_format';
/**
* The attributes that are mass assignable.
*/
protected $fillable = ['_id','narr_format_id','description','text_data','line_length','max_lines','wrap_truncate','record_status','curr_no','inputter','date_time','authoriser','co_code','dept_code','auditor_code','audit_date_time','k_file','k_format','file','format'];
// protected static function newFactory(): TempStmtNarrFormatFactory
// {
// // return TempStmtNarrFormatFactory::new();
// }
}