class WitnessRepository {

	public void update(String applicationNumber, String tenantId, Witness witness) {
		Object[] obj = new Object[]{
				witness.getName(), witness.getRelationForIdentification(), witness.getRelatedTo().toString(),
				witness.getDob(), witness.getAddress(), witness.getRelationshipWithApplicants(),
				witness.getOccupation(), witness.getAadhaar(),
				witness.getMobileNo(), witness.getEmail(), witness.getWitnessNo(), applicationNumber, tenantId
		};
		jdbcTemplate.update(UPDATE_WITNESS_QUERY, obj);
	}

}