create getters and setters for fields in product table