| 1 | <?php |
||
| 25 | class Service extends Model |
||
| 26 | { |
||
| 27 | /** |
||
| 28 | * Indicates if the model should be timestamped. |
||
| 29 | * |
||
| 30 | * @var bool |
||
| 31 | */ |
||
| 32 | public $timestamps = false; |
||
| 33 | /** |
||
| 34 | * The table associated with the model. |
||
| 35 | * |
||
| 36 | * @var string |
||
| 37 | */ |
||
| 38 | protected $table = 'services'; |
||
| 39 | /** |
||
| 40 | * The primary key column name. |
||
| 41 | * |
||
| 42 | * @var string |
||
| 43 | */ |
||
| 44 | protected $primaryKey = 'service_id'; |
||
| 45 | |||
| 46 | // ---- Define Reletionships ---- |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return \Illuminate\Database\Eloquent\Relations\BelongsTo |
||
| 50 | */ |
||
| 51 | public function device() |
||
| 55 | } |
||
| 56 |