protected function _getCommonFields()
{
$structure = $this->_discussionDefinition->getDiscussionStructure();
return array(
$structure['table'] => array(
$structure['key'] => array('type' => self::TYPE_UINT, 'autoIncrement' => true),
$structure['container'] => array('type' => self::TYPE_UINT, 'required' => true),
'title' => array('type' => self::TYPE_STRING, 'required' => true, 'maxLength' => 100,
'verification' => array('$this', '_verifyTitle'), 'requiredError' => 'please_enter_valid_title'
),
'reply_count' => array('type' => self::TYPE_UINT_FORCED, 'default' => 0),
'view_count' => array('type' => self::TYPE_UINT_FORCED, 'default' => 0),