<?php

namespace App\Models\Part;

use App\Entities\Part\IPEntity;

class IPModel extends PartModel
{
    const TABLE = "ipinfo";
    const PK = "uid";
    const TITLE = "ip";
    protected $table            = self::TABLE;
    protected $primaryKey       = self::PK;
    protected $returnType       = IPEntity::class;
    protected $allowedFields = [
        "uid",
        "lineinfo_uid",
        "old_clientinfo_uid",
        "clientinfo_uid",
        "serviceinfo_uid",
        "serverinfo_uid",
        "ip",
        "price",
        "status",
        "content",
    ];
    public function __construct()
    {
        parent::__construct();
    }
}
