<?php

namespace App\Models\Part;

use App\Entities\Part\CPUEntity;

class CPUModel extends PartModel
{
    const TABLE = "cpuinfo";
    const PK = "uid";
    const TITLE = "title";
    protected $table            = self::TABLE;
    protected $primaryKey       = self::PK;
    // protected $useAutoIncrement = false;
    protected $returnType       = CPUEntity::class;
    protected $allowedFields = [
        "uid",
        "title",
        "price",
        "stock",
        "status",
        "updated_at"
    ];
    public function __construct()
    {
        parent::__construct();
    }
}
