UKG interview question

write code for hibernate mapping.