| 1234567891011121314151617181920212223 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\SoftDeletes;
- class PaymentCollectionChannel extends BaseModel
- {
- use SoftDeletes;
- protected $table = 'payment_collection_channels';
- protected $guarded = [];
- protected $hidden = ['deleted_at'];
- protected $casts = [
- 'recharge_channel_group_ids' => 'array',
- 'status' => 'integer',
- ];
- public function rechargeChannel()
- {
- return $this->belongsTo(RechargeChannel::class, 'recharge_channel_id');
- }
- }
|