- 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.
25 lines
814 B
PHP
25 lines
814 B
PHP
<?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();
|
|
// }
|
|
}
|