<?php

namespace App\Models;

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

class OnPremiseMultiple extends Model
{
    use HasFactory;

    protected $table = 'onpremise_multiple';
    
    protected $fillable = [
        'total',
        'count',
        'countnew',
    ];

    public function onpremise() {
        return $this->hasMany(onpremise::class);
    }
}
