Create BaseEntity.java