<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use App\Traits\ModelTimeFormat;

use App\Traits\ModelLogChanging;

class PaperBox extends Model
{
    use ModelLogChanging;

    use ModelTimeFormat;
    protected $fillable=[
        'model','length','width','height',
    ];

    public function owners(){
        return $this->belongsToMany('\App\Owner','owner_paper_box','paper_box_id','owner_id');
    }
}
