Files
aso/app/Models/Price.php
Linksehat Staging Server 70fc1579e7 update
2024-07-12 08:41:18 +07:00

32 lines
552 B
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Price extends Model
{
use HasFactory;
protected $fillable = [
'priceable',
'price_group_id',
'price_gross',
'price_net',
'has_tax',
'discount_type',
'discount_percentage',
'discount_absolute',
'created_by',
'updated_by',
'deleted_by',
];
public function priceable()
{
return $this->morphTo();
}
}