You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
355 B
19 lines
355 B
<?php
|
|
|
|
namespace App\Model\v3;
|
|
|
|
use App\Model\Model;
|
|
use App\Constants\v3\Withdrawal;
|
|
class StoreWithdrawal extends Model
|
|
{
|
|
protected $table = 'lanzu_store_withdrawal';
|
|
|
|
protected $appends = [
|
|
'state_text',
|
|
];
|
|
|
|
public function getStateTextAttribute()
|
|
{
|
|
return Withdrawal::getMessage($this->attributes['state']);
|
|
}
|
|
}
|