osb/app/Models/ServiceAdsl.php
2018-08-11 15:21:15 +10:00

19 lines
314 B
PHP

<?php
namespace App\Models;
use App\Models\Service_Model as Model;
use App\Traits\NextKey;
class ServiceAdsl extends Model
{
use NextKey;
protected $table = 'ab_service__adsl';
public $timestamps = FALSE;
public function getNameAttribute()
{
return $this->service_number ?: $this->service_address;
}
}