Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| TblInvoiceReminderSkips | n/a |
0 / 0 |
n/a |
0 / 0 |
0 | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Models; |
| 4 | |
| 5 | use Illuminate\Database\Eloquent\Factories\HasFactory; |
| 6 | use Illuminate\Database\Eloquent\Model; |
| 7 | |
| 8 | /** |
| 9 | * FIRE-1293 — append-only forensic log of every reminder skip decision. |
| 10 | * See `tbl_invoice_reminder_skips` migration for rationale. |
| 11 | */ |
| 12 | class TblInvoiceReminderSkips extends Model |
| 13 | { |
| 14 | use HasFactory; |
| 15 | |
| 16 | protected $table = 'tbl_invoice_reminder_skips'; |
| 17 | |
| 18 | public $timestamps = false; |
| 19 | |
| 20 | protected $fillable = [ |
| 21 | 'invoice_number', |
| 22 | 'region', |
| 23 | 'skip_reason', |
| 24 | 'reminder_type', |
| 25 | 'client_code', |
| 26 | 'amount', |
| 27 | 'context', |
| 28 | 'created_at', |
| 29 | ]; |
| 30 | |
| 31 | protected $casts = [ |
| 32 | 'context' => 'array', |
| 33 | 'created_at' => 'datetime', |
| 34 | ]; |
| 35 | } |