<?php

return [
	'attributes' => [
		"lock_notes" => 'Lock Notes',
		"lock_status" => 'Lock Status',
		"unlock_code" => "Unlock Code",
		"asset_original_value" => "Asset Original Value",
		"serial_no" => "Serial #",
		"asset_tag" => "Asset Tag #",
		"warranty_end_date" => "Warranty End Date",
		"lease_start_date" => "Lease Start Date",
		"lease_end_date" => "Lease End Date",
		"loaner_return_date" => "Expected Return Date",
		"lock_status_id" => "Lock Status",
		"carrier_id" => "Carrier",
		"asset_type_id" => "Asset Type",
		"make_and_model_id" => "Hardware Standard",
		"technical_spec_id" => "Technical Specs",
	],
	'attributeUpdateActions' => [
		'Lock Notes' => 'lockNotes_updated',
		'Lock Status' => 'lockStatus_updated',
		'Unlock Code' => 'unlockCode_updated',
		'Serial #' => 'serialNo_updated',
		'Asset Tag #' => 'assetTag_updated',
		'Warranty End Date' => 'WarrantyEndDateUpdated',
		'Lease Start Date' => 'leaseStartDate_updated',
		'Lease End Date' => 'leaseEndDate_updated',
		'Expected Return Date' => 'loanerReturnDate_updated',
		'Carrier' => 'carrier_updated'
	],

	'relationalAttributes' => [
		'Lock Status' => [
			'model' => '\App\Models\LockStatus',
			'db_column' => 'name',
		],
		'Carrier' => [
			'model' => '\App\Models\Carrier',
			'db_column' => 'name',
		],
		'Asset Type' => [
			'model' => '\App\Models\AssetType',
			'db_column' => 'name',
		],
		'Hardware Standard' => [
			'model' => '\App\Models\MakeAndModel',
			'db_column' => 'name',
		],
		'Technical Specs' => [
			'model' => '\App\Models\TechnicalSpecs',
			'db_column' => 'details',
		],
	],

	'maskedAttributes' => [
		"Unlock Code"
	]
];
