Define class member and create setter/getter method