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