The followings are the available columns in table:
Inheritance: extends BaseActiveRecordVersioned
 public function getOperationProcedures($operation_id)
 {
     return OphTrOperationbooking_Operation_Procedures::model()->findAll('element_id=?', array($operation_id));
 }
 public function delete()
 {
     // Delete related records
     OphTrOperationbooking_Operation_Date_Letter_Sent::model()->deleteAll('element_id = ?', array($this->id));
     OphTrOperationbooking_Operation_Procedures::model()->deleteAll('element_id = ?', array($this->id));
     OphTrOperationbooking_Operation_Booking::model()->deleteAll('element_id = ?', array($this->id));
     OphTrOperationbooking_Operation_EROD::model()->deleteAll('element_id = ?', array($this->id));
     parent::delete();
 }