added the code for POJO and DAO of BarterModel