braintree_api/app/Models/RcdOrdersStatusHistory.php
2025-05-26 10:14:58 +02:00

20 lines
466 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class RcdOrdersStatusHistory extends Model
{
//
protected $table = 'rcd_orders_status_history';
protected $primaryKey = 'orders_status_history_id';
public $timestamps = false;
protected $guarded = [];
public function rcd_order(): BelongsTo
{
return $this->belongsTo(RcdOrder::class, 'orders_id');
}
}