CREATE TABLE `hr_att_calculation` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `staff_id` int(11) NOT NULL,
  `record_date` date NOT NULL,
  `start_time` datetime NOT NULL,
  `end_time` datetime NOT NULL,
  `event_type` int(11) NOT NULL,
  `calculated_time` int(11) NOT NULL,
  `adjusted_time` int(11) NOT NULL,
  `calculate_salary` int(11) NOT NULL,
  `remark` text COLLATE utf8_general_ci,
  `leave_type` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=421 DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
