<?php

namespace App\Models;

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

class ProductoCompra extends Model
{
    use HasFactory;

    protected $table = 'producto_compra';

    protected $primaryKey = 'id_producto_compra';

    public $timestamps = false;

    protected $fillable = [
        'producto_compra', 
        'cantidad', 
        'num_comprobante', 
        'proveedor', 
        'fecha_compra', 
        'precio_compra',
        'precio_venta', 
        'total_compra'
    ];

    protected $guarded = [

    ];
}