class MarryingPersonRepository {

	public void update(MarryingPerson marryingPerson, String tenantId) {
		Object[] obj = new Object[] {
				marryingPerson.getName(), marryingPerson.getParentName(), marryingPerson.getStreet(),
				marryingPerson.getLocality(), marryingPerson.getCity(), marryingPerson.getDob(), marryingPerson.getStatus().toString(),
				marryingPerson.getAadhaar(), marryingPerson.getMobileNo(), marryingPerson.getEmail(), marryingPerson.getReligion(),
				marryingPerson.getReligionPractice(), marryingPerson.getEducation(), marryingPerson.getOccupation(),
				marryingPerson.getHandicapped(), marryingPerson.getResidenceAddress(), marryingPerson.getPhoto(),
				marryingPerson.getNationality(), marryingPerson.getOfficeAddress(), marryingPerson.getId(), tenantId
				};
		jdbcTemplate.update(UPDATE_MARRYING_PERSON_QUERY, obj);
	}

}