Implement hibernate model for master data