21 lines
402 B
PHP
21 lines
402 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Writeoff\Entities;
|
||
|
|
||
|
class Product extends BaseModel
|
||
|
{
|
||
|
protected $fillable = [
|
||
|
'kode',
|
||
|
'name',
|
||
|
'status',
|
||
|
'authorized_at',
|
||
|
'authorized_status',
|
||
|
'authorized_by',
|
||
|
];
|
||
|
|
||
|
public function rekenings()
|
||
|
{
|
||
|
return $this->hasMany(Rekening::class);
|
||
|
}
|
||
|
}
|