* @copyright 2019 * @license http://www.gnu.org/licenses/gpl-2.0.html GPL version 2 * @category Stud.IP * @package resources * @since TODO * * @property string id database column * @property string name database column * @property string position database column * @property string mkdate database column * @property string chdate database column */ class ResourcePropertyGroup extends SimpleORMap { protected static function configure($config = []) { $config['db_table'] = 'resource_property_groups'; $config['has_many']['properties'] = [ 'class_name' => 'ResourcePropertyDefinition', 'assoc_foreign_key' => 'property_group_id', 'assoc_func' => 'findByPropertyGroup' ]; parent::configure($config); } }