<?php  namespace App\Models;  use App\Observers\OrderItemObserver; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\BelongsTo;  /**  * @property string $total_price_with_discounts  * @property string $discounts  */ class OrderItem extends Model { 	protected $casts = [ 		'discounts_applied' => 'array', 		'order_item_details' => 'array', 	];  	public function scopeIncludes(object $query): Builder{}  	public function product(): BelongsTo{}  	public function variant(): BelongsTo{}  	public function order(): BelongsTo{}  	public function getName(): ?string{}  	public function getImage(): ?string{}  	public function getVariantName(): ?string{}  	public function getErpCode(): ?string{}  	public function appliedDiscounts(): HasMany{}  	public function getAddedDiscounts(): ?string{}  	protected static function initObservers(): ?string 	{ 		return OrderItemObserver::class; 	} }