Item.php 265 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

namespace yiiunit\data\ar\elasticsearch;

/**
 * Class Item
 *
 * @property integer $id
 * @property string $name
 * @property integer $category_id
 */
class Item extends ActiveRecord
{
14
	public function attributes()
15
	{
16
		return ['name', 'category_id'];
17 18
	}
}