static function definition()
    {
        static $def = null;
        if ( $def === null )
        {
            $def = parent::definition();
            $def['class_name'] = 'ezsrRatingObjectTreeNode';
            $def['fields']['rating'] = array( 'name' => 'Rating',
                                                               'datatype' => 'integer',
                                                               'default' => 0,
                                                               'required' => false );
            $def['fields']['rating_count'] = array( 'name' => 'RatingCount',
                                                               'datatype' => 'integer',
                                                               'default' => 0,
                                                               'required' => false );
        }
        return $def;
    }