Initial import
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace app\models;
|
||||
|
||||
/**
|
||||
* Class CollectionsObjects
|
||||
* @package app\models
|
||||
* @property $id
|
||||
* @property $object_id
|
||||
* @property $collection_id
|
||||
* @property $category_id
|
||||
* @property Collections $collection
|
||||
*/
|
||||
class CollectionsObjects extends _Base {
|
||||
public function getCollection() {
|
||||
return $this->hasOne(Collections::class, ['id' => 'collection_id']);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user