'item_code', 'article' => 'article', 'lot_code_externe' => 'external_code_lot', 'code_eleveur' => 'breeder_code', 'num_commande' => 'order_num', 'lot_opa' => 'opa_lot', 'gencod_prix' => 'barcode_price', 'gencod_poids' => 'barcode_weight', 'lot_abattoir' => 'abattoir_lot', 'client_commande' => 'customer_order', 'enseigne' => ' sign', 'marque' => 'brand', 'famille' => 'family', 'date_expe' => 'exp_date', 'date_de_prep' => 'prep_date' ]; /** * The columns allowed to be null * * @var array */ protected $nullableFields = [ 'barcode_price', 'barcode_weight' ]; /** * Fields that are unique * * @var array */ protected $uniqueKeyField = [ 'item_code', 'order_num', 'external_code_lot' ]; /** * Execute the job. * * @return void */ public function handle() { $this->parseData('HT', TraceaPoultry::class); } }