osb/app/Models/ServiceAdsl.php
2018-05-20 22:53:14 +10:00

20 lines
298 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class ServiceAdsl extends Model
{
protected $table = 'ab_service__adsl';
public function service()
{
return $this->belongsTo(Service::class);
}
public function getNameAttribute()
{
return $this->service_number;
}
}