<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Service extends Model
{
    use HasFactory;
    protected $fillable = ['description_service', 'status_service'];
    public function Sale()
    {
        return $this->belongsToMany(Sale::class)->withPivot(
            'price_sale_service',
        )->withTimestamps();
    }
}
