f5874b956d
- Add agreement_printed_at timestamp to pampasan table for tracking printed agreements - Update jenis handling for semporna v2 processing logic - Refactor barangkes controller eager loading for improved performance - Remove obsolete jenis migration files and consolidate schema changes - Update related models and controllers for semporna v2 compatibility
36 lines
613 B
PHP
36 lines
613 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Pampasan extends Model
|
|
{
|
|
protected $table = 'pampasan';
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'id',
|
|
'norujukan',
|
|
'baucerno',
|
|
'kodcaw',
|
|
'jumlah_pampasan',
|
|
'denominasi',
|
|
'teller',
|
|
'nota',
|
|
'agreement_printed_at',
|
|
];
|
|
|
|
/**
|
|
* The attributes excluded from the model's JSON form.
|
|
*
|
|
* @var array
|
|
*/
|
|
// protected $hidden = [];
|
|
}
|