/**
  * 予約ブース数の総数を取得
  *
  * @access public
  * @param  int
  * @return bool
  * @author kobayasi
  */
 public function sumReservedBooth($db = 'slave')
 {
     $query = \DB::select(DB::expr('SUM(reserved_booth) as sum_result'));
     $query->from(\Model_Entry::table());
     $query->where(array('fleamarket_id' => $this->fleamarket_id, 'fleamarket_entry_style_id' => $this->fleamarket_entry_style_id, 'entry_status' => \Model_Entry::ENTRY_STATUS_RESERVED));
     $result = $query->execute($db)->get('sum_result');
     return $result;
 }