| 1 | <?php |
||
| 15 | class Storage 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 = 'storage'; |
||
| 29 | /** |
||
| 30 | * The primary key column name. |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | protected $primaryKey = 'storage_id'; |
||
| 35 | |||
| 36 | // ---- Define Helper Functions ---- |
||
| 37 | |||
| 38 | // ---- Accessors/Mutators ---- |
||
| 39 | |||
| 40 | // ---- Query scopes ---- |
||
| 41 | |||
| 42 | |||
| 43 | // ---- Define Relationships ---- |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Get the device this port belongs to. |
||
| 47 | * |
||
| 48 | */ |
||
| 49 | public function device() |
||
| 53 | } |
||
| 54 | |||
| 55 |