Download core/app/Models/RefundActivity.php from pnacorp/codeplus: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/pnacorp/codeplus/resolve/main/core/app/Models/RefundActivity.php
- Command line
-
hf download hf://pnacorp/codeplus/core/app/Models/RefundActivity.php
-
curl -L -o RefundActivity.php https://huggingface.co/pnacorp/codeplus/resolve/main/core/app/Models/RefundActivity.php
413 Bytes
| namespace App\Models; | |
| use Illuminate\Database\Eloquent\Model; | |
| class RefundActivity extends Model | |
| { | |
| public function buyer() | |
| { | |
| return $this->belongsTo(User::class, 'buyer_id'); | |
| } | |
| public function seller() | |
| { | |
| return $this->belongsTo(User::class, 'seller_id'); | |
| } | |
| public function refundRequest() | |
| { | |
| return $this->belongsTo(RefundRequest::class); | |
| } | |
| } | |