| 12345678910 |
- <?php
- namespace App\Models\Agent;
- use App\Models\BaseModel;
- class AgentBalanceLog extends BaseModel
- {
- protected $table = 'agent_balance_logs';
- protected $fillable = ['agent_id', 'type', 'amount', 'before_balance', 'after_balance', 'reference_type', 'reference_id', 'operator_type', 'operator_id', 'idempotency_key', 'remark'];
- protected $hidden = ['idempotency_key'];
- protected $casts = ['agent_id' => 'integer', 'amount' => 'decimal:4', 'before_balance' => 'decimal:4', 'after_balance' => 'decimal:4'];
- }
|