codeplus / core /app /Models /RefundActivity.php
Softin Trading
Initial commit from Github
52d9fb0
Raw History Blame Contribute Delete
413 Bytes
<?php
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);
}
}