| 1 | <?php |
||
| 15 | class Processor extends Model |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Indicates if the model should be timestamped. |
||
| 19 | * |
||
| 20 | * @var bool |
||
| 21 | */ |
||
| 22 | public $timestamps = false; |
||
| 23 | /** |
||
| 24 | * The table associated with the model. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $table = 'processors'; |
||
| 29 | /** |
||
| 30 | * The primary key column name. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $primaryKey = 'processor_id'; |
||
| 35 | |||
| 36 | // ---- Define Helper Functions ---- |
||
| 37 | |||
| 38 | // ---- Accessors/Mutators ---- |
||
| 39 | |||
| 40 | |||
| 41 | // ---- Query scopes ---- |
||
| 42 | |||
| 43 | |||
| 44 | // ---- Define Relationships ---- |
||
| 45 | |||
| 46 | /** |
||
| 47 | * Get the device this port belongs to. |
||
| 48 | * |
||
| 49 | */ |
||
| 50 | public function device() |
||
| 54 | } |
||
| 55 | |||
| 56 |