Purchase order model and controller generated