Beispiel #1
0
 public function setModel($row)
 {
     $model = new Admin_Model_Product();
     $model->setId($row->id)->setCaseFormat($row->case_format)->setLabelCase($row->label_case)->setProductIdentifier($row->product_identifier)->setPackLocation($row->pack_location)->setPartNumber($row->part_number)->setSellByDays($row->sell_by_days)->setPriceLb($row->price_lb)->setPalletId($row->pallet_id)->setDesLine1($row->des_line_1)->setDesLine2($row->des_line_2)->setDesLine3($row->des_line_3)->setDesLine4($row->des_line_4)->setLowerWeight($row->lower_weight)->setFixedWeight($row->fixed_weight)->setHeighWeight($row->heigh_weight)->setTareWeight($row->tare_weight)->setRequiredApp($row->required_application)->setCreatedOn($row->created_on)->setUpdatedOn($row->updated_on)->setCreatedBy($row->created_by)->setUpdatedBy($row->updated_by)->setRowGuid($row->row_guid)->setRowVersion($row->row_version)->setRowMaxId($row->row_max_id)->setStatus($row->status);
     return $model;
 }