class WitnessRepository {

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

}