Using Integer data type for nullable columns of Event to indicate null as no value instead of zero.

variables representing the nullable columns of Event are changed from int data type to Integer data type. id field is not changed as it a non nullable column.