osb/app/Models/Service/AdslTraffic.php

17 lines
297 B
PHP
Raw Normal View History

2020-05-28 05:08:13 +00:00
<?php
namespace App\Models\Service;
use Illuminate\Database\Eloquent\Model;
class AdslTraffic extends Model
{
protected $table = 'ab_service__adsl_traffic';
public $timestamps = FALSE;
protected $dates = ['date'];
2020-05-28 05:08:13 +00:00
public function broadband()
{
return $this->belongsTo(Adsl::class);
}
}