buind post class for multipart