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:
24
app/Models/TempStmtNarrFormat.php
Normal file
24
app/Models/TempStmtNarrFormat.php
Normal 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();
|
||||
// }
|
||||
}
|
||||
Reference in New Issue
Block a user