src/AtechNet/CoreBundle/Entity/AikenShipmentItem.php line 17

Open in your IDE?
  1. <?php
  2. namespace App\AtechNet\CoreBundle\Entity;
  3. use Doctrine\ORM\Mapping\Column;
  4. use Doctrine\ORM\Mapping\Entity;
  5. use Doctrine\ORM\Mapping\JoinColumn;
  6. use Doctrine\ORM\Mapping\ManyToOne;
  7. use Doctrine\ORM\Mapping\Table as Table;
  8. /**
  9.  * AikenShipmentItem
  10.  *
  11.  * @Table(name="aiken_shipment_item")
  12.  * @Entity
  13.  */
  14. class AikenShipmentItem extends AbstractEntity
  15. {
  16.     public const int TESTER_NONE = 40;
  17.     public const int TESTER_MAAL = 25;
  18.     public const int TESTER_ARKU = 28;
  19.     public const int TESTER_ATBA = 33;
  20.     public const int TESTER_NOPI = 34;
  21.     public const int TESTER_MADI = 10;
  22.     public const int TESTER_LASZ = 27;
  23.     /**
  24.      * @return array
  25.      */
  26.     public static function getTesters(): array
  27.     {
  28.         return [
  29.             self::TESTER_NONE => 'NO-NE',
  30.             self::TESTER_MAAL => 'MA-AL',
  31.             self::TESTER_ARKU => 'AR-KU',
  32.             self::TESTER_ATBA => 'AT-BA',
  33.             self::TESTER_NOPI => 'NO-PI',
  34.             self::TESTER_MADI => 'MA-DI',
  35.             self::TESTER_LASZ => 'LA-SZ',
  36.         ];
  37.     }
  38.     /**
  39.      * @return array
  40.      */
  41.     public static function getTesterIds()
  42.     {
  43.         return array_flip(self::getTesters());
  44.     }
  45.     /**
  46.      * @param string $code
  47.      * @return mixed
  48.      */
  49.     public static function getTesterIdByCode($code)
  50.     {
  51.         return array_key_exists($code, self::getTesterIds()) ? self::getTesterIds()[$code] : self::TESTER_NONE;
  52.     }
  53.     /**
  54.      * @var AikenShipment
  55.      *
  56.      * @ManyToOne(targetEntity="AikenShipment", inversedBy="aikenShipmentItems")
  57.      * @JoinColumn(name="aiken_shipment_id", referencedColumnName="id")
  58.      */
  59.     private $aikenShipment;
  60.     /**
  61.      * @var int
  62.      *
  63.      * @Column(name="type", type="string", length=16, nullable=true)
  64.      */
  65.     private $type;
  66.     /**
  67.      * @var string
  68.      *
  69.      * @Column(name="vendor", type="string", length=32, nullable=true)
  70.      */
  71.     private $vendor;
  72.     /**
  73.      * @var string
  74.      *
  75.      * @Column(name="serial", type="string", length=32, nullable=true)
  76.      */
  77.     private $serial;
  78.     /**
  79.      * @var string
  80.      *
  81.      * @Column(name="model", type="string", length=64, nullable=true)
  82.      */
  83.     private $model;
  84.     /**
  85.      * @var string
  86.      *
  87.      * @Column(name="display_size", type="string", length=64, nullable=true)
  88.      */
  89.     private $displaySize;
  90.     /**
  91.      * @var string
  92.      *
  93.      * @Column(name="chassis", type="string", length=24, nullable=true)
  94.      */
  95.     private $chassis;
  96.     /**
  97.      * @var string
  98.      *
  99.      * @Column(name="battery", type="string", length=16, nullable=true)
  100.      */
  101.     private $battery = 0;
  102.     /**
  103.      * @var string
  104.      *
  105.      * @Column(name="grade", type="string", length=8, nullable=true)
  106.      */
  107.     private $grade;
  108.     /**
  109.      * @var string
  110.      *
  111.      * @Column(name="processor", type="text", nullable=true)
  112.      */
  113.     private $processor;
  114.     /**
  115.      * @var string
  116.      *
  117.      * @Column(name="processor_speed", type="string", length=32, nullable=true)
  118.      */
  119.     private $processorSpeed;
  120.     /**
  121.      * @var string
  122.      *
  123.      * @Column(name="processor_count", type="string", length=32, nullable=true)
  124.      */
  125.     private $processorCount;
  126.     /**
  127.      * @var string
  128.      *
  129.      * @Column(name="hdd_1_size", type="string", length=16, nullable=true)
  130.      */
  131.     private $hdd1size;
  132.     /**
  133.      * @var string
  134.      *
  135.      * @Column(name="hdd_1_type", type="string", length=16, nullable=true)
  136.      */
  137.     private $hdd1type;
  138.     /**
  139.      * @var string
  140.      *
  141.      * @Column(name="hdd_1_model", type="string", length=64, nullable=true)
  142.      */
  143.     private $hdd1model;
  144.     /**
  145.      * @var string
  146.      *
  147.      * @Column(name="hdd_2_size", type="string", length=16, nullable=true)
  148.      */
  149.     private $hdd2size;
  150.     /**
  151.      * @var string
  152.      *
  153.      * @Column(name="hdd_2_type", type="string", length=16, nullable=true)
  154.      */
  155.     private $hdd2type;
  156.     /**
  157.      * @var string
  158.      *
  159.      * @Column(name="hdd_2_model", type="string", length=64, nullable=true)
  160.      */
  161.     private $hdd2model;
  162.     /**
  163.      * @var string
  164.      *
  165.      * @Column(name="hdd_3_size", type="string", length=16, nullable=true)
  166.      */
  167.     private $hdd3size;
  168.     /**
  169.      * @var string
  170.      *
  171.      * @Column(name="hdd_3_model", type="string", length=64, nullable=true)
  172.      */
  173.     private $hdd3model;
  174.     /**
  175.      * @var string
  176.      *
  177.      * @Column(name="hdd_4_size", type="string", length=16, nullable=true)
  178.      */
  179.     private $hdd4size;
  180.     /**
  181.      * @var string
  182.      *
  183.      * @Column(name="hdd_4_model", type="string", length=64, nullable=true)
  184.      */
  185.     private $hdd4model;
  186.     /**
  187.      * @var string
  188.      *
  189.      * @Column(name="keyboard", type="string", length=24, nullable=true)
  190.      */
  191.     private $keyboard;
  192.     /**
  193.      * @var string
  194.      *
  195.      * @Column(name="memory_size", type="string", length=16, nullable=true)
  196.      */
  197.     private $memorySize;
  198.     /**
  199.      * @var integer
  200.      *
  201.      * @Column(name="memory_slots", type="integer", nullable=true)
  202.      */
  203.     private $memorySlots;
  204.     /**
  205.      * @var string
  206.      *
  207.      * @Column(name="memories", type="text", nullable=true)
  208.      */
  209.     private $memories;
  210.     /**
  211.      * @var string
  212.      *
  213.      * @Column(name="disk_size", type="string", length=128, nullable=true)
  214.      */
  215.     private $diskSize;
  216.     /**
  217.      * @var string
  218.      *
  219.      * @Column(name="disk_type", type="string", length=128, nullable=true)
  220.      */
  221.     private $diskType;
  222.     /**
  223.      * @var string
  224.      *
  225.      * @Column(name="optical_type", type="string", length=24, nullable=true)
  226.      */
  227.     private $opticalType;
  228.     /**
  229.      * @var string
  230.      *
  231.      * @Column(name="screen_resolution", type="string", length=16, nullable=true)
  232.      */
  233.     private $screenResolution;
  234.     /**
  235.      * @var string
  236.      *
  237.      * @Column(name="motherboard", type="string", length=128, nullable=true)
  238.      */
  239.     private $motherboard;
  240.     /**
  241.      * @var string
  242.      *
  243.      * @Column(name="network", type="string", length=255, nullable=true)
  244.      */
  245.     private $network;
  246.     /**
  247.      * @var bool
  248.      *
  249.      * @Column(name="webcam", type="boolean", nullable=true)
  250.      */
  251.     private $webcam;
  252.     /**
  253.      * @var string
  254.      *
  255.      * @Column(name="optical_product", type="string", length=64, nullable=true)
  256.      */
  257.     private $opticalProduct;
  258.     /**
  259.      * @var bool
  260.      *
  261.      * @Column(name="wifi", type="boolean", nullable=true)
  262.      */
  263.     private $wifi;
  264.     /**
  265.      * @var string
  266.      *
  267.      * @Column(name="graphic_card", type="string", length=255, nullable=true)
  268.      */
  269.     private $graphicCard;
  270.     /**
  271.      * @var bool
  272.      *
  273.      * @Column(name="bluetooth", type="boolean", nullable=true)
  274.      */
  275.     private $bluetooth;
  276.     /**
  277.      * @var bool
  278.      *
  279.      * @Column(name="fingerprint_reader", type="boolean", nullable=true)
  280.      */
  281.     private $fingerprintReader;
  282.     /**
  283.      * @var bool
  284.      *
  285.      * @Column(name="gsm", type="boolean", nullable=true)
  286.      */
  287.     private $gsm;
  288.     /**
  289.      * @var string
  290.      *
  291.      * @Column(name="error", type="text", nullable=true)
  292.      */
  293.     private $error;
  294.     /**
  295.      * @var string
  296.      *
  297.      * @Column(name="coa", type="string", length=64, nullable=true)
  298.      */
  299.     private $coa;
  300.     /**
  301.      * @var string
  302.      *
  303.      * @Column(name="coa_number", type="string", length=64, nullable=true)
  304.      */
  305.     private $coaNumber;
  306.     /**
  307.      * @var string
  308.      *
  309.      * @Column(name="new_coa_number", type="string", length=64, nullable=true)
  310.      */
  311.     private $newCoaNumber;
  312.     /**
  313.      * @var string
  314.      *
  315.      * @Column(name="os_installed", type="string", length=64, nullable=true)
  316.      */
  317.     private $osInstalled;
  318.     /**
  319.      * @var string
  320.      *
  321.      * @Column(name="observ_codes", type="text", nullable=true)
  322.      */
  323.     private $observCodes;
  324.     /**
  325.      * @var string
  326.      *
  327.      * @Column(name="tester", type="string", length=32, nullable=true)
  328.      */
  329.     private $tester;
  330.     /**
  331.      * @var string
  332.      *
  333.      * @Column(name="motherboard_model", type="string", length=64, nullable=true)
  334.      */
  335.     private $motherboardModel;
  336.     /**
  337.      * @var string
  338.      *
  339.      * @Column(name="cpu_socket", type="string", length=64, nullable=true)
  340.      */
  341.     private $cpuSocket;
  342.     /**
  343.      * @var string
  344.      *
  345.      * @Column(name="ram_1_model", type="string", length=64, nullable=true)
  346.      */
  347.     private $ram1model;
  348.     /**
  349.      * @var string
  350.      *
  351.      * @Column(name="ram_1_type", type="string", length=32, nullable=true)
  352.      */
  353.     private $ram1type;
  354.     /**
  355.      * @var string
  356.      *
  357.      * @Column(name="ram_1_size", type="string", length=32, nullable=true)
  358.      */
  359.     private $ram1size;
  360.     /**
  361.      * @var string
  362.      *
  363.      * @Column(name="ram_2_model", type="string", length=64, nullable=true)
  364.      */
  365.     private $ram2model;
  366.     /**
  367.      * @var string
  368.      *
  369.      * @Column(name="ram_2_type", type="string", length=32, nullable=true)
  370.      */
  371.     private $ram2type;
  372.     /**
  373.      * @var string
  374.      *
  375.      * @Column(name="ram_2_size", type="string", length=32, nullable=true)
  376.      */
  377.     private $ram2size;
  378.     /**
  379.      * @var string
  380.      *
  381.      * @Column(name="ram_3_model", type="string", length=64, nullable=true)
  382.      */
  383.     private $ram3model;
  384.     /**
  385.      * @var string
  386.      *
  387.      * @Column(name="ram_3_type", type="string", length=32, nullable=true)
  388.      */
  389.     private $ram3type;
  390.     /**
  391.      * @var string
  392.      *
  393.      * @Column(name="ram_3_size", type="string", length=32, nullable=true)
  394.      */
  395.     private $ram3size;
  396.     /**
  397.      * @var string
  398.      *
  399.      * @Column(name="ram_4_model", type="string", length=64, nullable=true)
  400.      */
  401.     private $ram4model;
  402.     /**
  403.      * @var string
  404.      *
  405.      * @Column(name="ram_4_type", type="string", length=32, nullable=true)
  406.      */
  407.     private $ram4type;
  408.     /**
  409.      * @var string
  410.      *
  411.      * @Column(name="ram_4_size", type="string", length=32, nullable=true)
  412.      */
  413.     private $ram4size;
  414.     /**
  415.      * @var string
  416.      *
  417.      * @Column(name="battery_duration", type="string", length=32, nullable=true)
  418.      */
  419.     private $batteryDuration;
  420.     /**
  421.      * @var string
  422.      *
  423.      * @Column(name="battery_percentage_1", type="string", length=32, nullable=true)
  424.      */
  425.     private $batteryPercentage1;
  426.     /**
  427.      * @var string
  428.      *
  429.      * @Column(name="battery_percentage_2", type="string", length=32, nullable=true)
  430.      */
  431.     private $batteryPercentage2;
  432.     /**
  433.      * @var int
  434.      *
  435.      * @Column(name="battery_cycle_count_1", type="integer", nullable=true)
  436.      */
  437.     private $batteryCycleCount1;
  438.     /**
  439.      * @var int
  440.      *
  441.      * @Column(name="battery_cycle_count_2", type="integer", nullable=true)
  442.      */
  443.     private $batteryCycleCount2;
  444.     /**
  445.      * @var string
  446.      *
  447.      * @Column(name="keyboard_backlight", type="string", length=64, nullable=true)
  448.      */
  449.     private $keyboardBacklight;
  450.     /**
  451.      * @var string
  452.      *
  453.      * @Column(name="keyboard_color", type="string", length=64, nullable=true)
  454.      */
  455.     private $keyboardColor;
  456.     /**
  457.      * @var string
  458.      *
  459.      * @Column(name="keyboard_language", type="string", length=8, nullable=true)
  460.      */
  461.     private $keyboardLanguage;
  462.     /**
  463.      * @var string
  464.      *
  465.      * @Column(name="long_i_key", type="string", length=64, nullable=true)
  466.      */
  467.     private $longIKey;
  468.     /**
  469.      * @var bool
  470.      *
  471.      * @Column(name="touch_screen", type="boolean", nullable=true)
  472.      */
  473.     private $touchScreen;
  474.     /**
  475.      * @var string
  476.      *
  477.      * @Column(name="asset_tag", type="text", nullable=true)
  478.      */
  479.     private $assetTag;
  480.     /**
  481.      * @var bool
  482.      *
  483.      * @Column(name="pen_for_touch", type="boolean", nullable=true)
  484.      */
  485.     private $penForTouchscreen;
  486.     /**
  487.      * @var bool
  488.      *
  489.      * @Column(name="trackpoint", type="boolean", nullable=true)
  490.      */
  491.     private $trackpoint;
  492.     /**
  493.      * @var string
  494.      *
  495.      * @Column(name="imei", type="string", length=64, nullable=true)
  496.      */
  497.     private $imei;
  498.     /**
  499.      * @var bool
  500.      *
  501.      * @Column(name="smart_card", type="boolean", nullable=true)
  502.      */
  503.     private $smartcard;
  504.     /**
  505.      * @var bool
  506.      *
  507.      * @Column(name="card_reader", type="boolean", nullable=true)
  508.      */
  509.     private $cardreader;
  510.     /**
  511.      * @return AikenShipment
  512.      */
  513.     public function getAikenShipment()
  514.     {
  515.         return $this->aikenShipment;
  516.     }
  517.     /**
  518.      * @param AikenShipment $aikenShipment
  519.      */
  520.     public function setAikenShipment($aikenShipment)
  521.     {
  522.         $this->aikenShipment = $aikenShipment;
  523.     }
  524.     /**
  525.      * @return int
  526.      */
  527.     public function getType()
  528.     {
  529.         return $this->type;
  530.     }
  531.     /**
  532.      * @param int $type
  533.      */
  534.     public function setType($type)
  535.     {
  536.         $this->type = $type;
  537.     }
  538.     /**
  539.      * Set vendor
  540.      *
  541.      * @param string $vendor
  542.      * @return AikenShipmentItem
  543.      */
  544.     public function setVendor($vendor)
  545.     {
  546.         $this->vendor = $vendor;
  547.         return $this;
  548.     }
  549.     /**
  550.      * Get vendor
  551.      *
  552.      * @return string
  553.      */
  554.     public function getVendor()
  555.     {
  556.         return $this->vendor;
  557.     }
  558.     /**
  559.      * Set serial
  560.      *
  561.      * @param string $serial
  562.      * @return AikenShipmentItem
  563.      */
  564.     public function setSerial($serial)
  565.     {
  566.         $this->serial = $serial;
  567.         return $this;
  568.     }
  569.     /**
  570.      * Get serial
  571.      *
  572.      * @return string
  573.      */
  574.     public function getSerial()
  575.     {
  576.         return $this->serial;
  577.     }
  578.     /**
  579.      * Set model
  580.      *
  581.      * @param string $model
  582.      * @return AikenShipmentItem
  583.      */
  584.     public function setModel($model)
  585.     {
  586.         $this->model = $model;
  587.         return $this;
  588.     }
  589.     /**
  590.      * Get model
  591.      *
  592.      * @return string
  593.      */
  594.     public function getModel()
  595.     {
  596.         return $this->model;
  597.     }
  598.     /**
  599.      * @return string
  600.      */
  601.     public function getDisplaySize()
  602.     {
  603.         return $this->displaySize;
  604.     }
  605.     /**
  606.      * @param string $displaySize
  607.      */
  608.     public function setDisplaySize($displaySize)
  609.     {
  610.         $this->displaySize = $displaySize;
  611.     }
  612.     /**
  613.      * Set chassis
  614.      *
  615.      * @param string $chassis
  616.      * @return AikenShipmentItem
  617.      */
  618.     public function setChassis($chassis)
  619.     {
  620.         $this->chassis = $chassis;
  621.         return $this;
  622.     }
  623.     /**
  624.      * Get chassis
  625.      *
  626.      * @return string
  627.      */
  628.     public function getChassis()
  629.     {
  630.         return $this->chassis;
  631.     }
  632.     /**
  633.      * Set battery
  634.      *
  635.      * @param string $battery
  636.      * @return AikenShipmentItem
  637.      */
  638.     public function setBattery($battery)
  639.     {
  640.         $this->battery = $battery;
  641.         return $this;
  642.     }
  643.     /**
  644.      * Get battery
  645.      *
  646.      * @return string
  647.      */
  648.     public function getBattery()
  649.     {
  650.         return $this->battery;
  651.     }
  652.     /**
  653.      * Set grade
  654.      *
  655.      * @param string $grade
  656.      * @return AikenShipmentItem
  657.      */
  658.     public function setGrade($grade)
  659.     {
  660.         $this->grade = $grade;
  661.         return $this;
  662.     }
  663.     /**
  664.      * Get grade
  665.      *
  666.      * @return string
  667.      */
  668.     public function getGrade()
  669.     {
  670.         return $this->grade;
  671.     }
  672.     /**
  673.      * Set processor
  674.      *
  675.      * @param string $processor
  676.      * @return AikenShipmentItem
  677.      */
  678.     public function setProcessor($processor)
  679.     {
  680.         $this->processor = $processor;
  681.         return $this;
  682.     }
  683.     /**
  684.      * Get processor
  685.      *
  686.      * @return string
  687.      */
  688.     public function getProcessor()
  689.     {
  690.         return $this->processor;
  691.     }
  692.     /**
  693.      * @return string
  694.      */
  695.     public function getProcessorSpeed()
  696.     {
  697.         return $this->processorSpeed;
  698.     }
  699.     /**
  700.      * @param string $processorSpeed
  701.      */
  702.     public function setProcessorSpeed($processorSpeed)
  703.     {
  704.         $this->processorSpeed = $processorSpeed;
  705.     }
  706.     /**
  707.      * @return string
  708.      */
  709.     public function getProcessorCount()
  710.     {
  711.         return $this->processorCount;
  712.     }
  713.     /**
  714.      * @param string $processorCount
  715.      */
  716.     public function setProcessorCount($processorCount)
  717.     {
  718.         $this->processorCount = $processorCount;
  719.     }
  720.     /**
  721.      * Set memorySize
  722.      *
  723.      * @param string $memorySize
  724.      * @return AikenShipmentItem
  725.      */
  726.     public function setMemorySize($memorySize)
  727.     {
  728.         $this->memorySize = $memorySize;
  729.         return $this;
  730.     }
  731.     /**
  732.      * Get memorySize
  733.      *
  734.      * @return string
  735.      */
  736.     public function getMemorySize()
  737.     {
  738.         return $this->memorySize;
  739.     }
  740.     /**
  741.      * Set memorySlots
  742.      *
  743.      * @param integer $memorySlots
  744.      * @return AikenShipmentItem
  745.      */
  746.     public function setMemorySlots($memorySlots)
  747.     {
  748.         $this->memorySlots = $memorySlots;
  749.         return $this;
  750.     }
  751.     /**
  752.      * Get memorySlots
  753.      *
  754.      * @return integer
  755.      */
  756.     public function getMemorySlots()
  757.     {
  758.         return $this->memorySlots;
  759.     }
  760.     /**
  761.      * Set memories
  762.      *
  763.      * @param string $memories
  764.      * @return AikenShipmentItem
  765.      */
  766.     public function setMemories($memories)
  767.     {
  768.         $this->memories = $memories;
  769.         return $this;
  770.     }
  771.     /**
  772.      * Get memories
  773.      *
  774.      * @return string
  775.      */
  776.     public function getMemories()
  777.     {
  778.         return $this->memories;
  779.     }
  780.     /**
  781.      * Set diskSize
  782.      *
  783.      * @param string $diskSize
  784.      * @return AikenShipmentItem
  785.      */
  786.     public function setDiskSize($diskSize)
  787.     {
  788.         $this->diskSize = $diskSize;
  789.         return $this;
  790.     }
  791.     /**
  792.      * Get diskSize
  793.      *
  794.      * @return string
  795.      */
  796.     public function getDiskSize()
  797.     {
  798.         return $this->diskSize;
  799.     }
  800.     /**
  801.      * Set diskType
  802.      *
  803.      * @param string $diskType
  804.      * @return AikenShipmentItem
  805.      */
  806.     public function setDiskType($diskType)
  807.     {
  808.         $this->diskType = $diskType;
  809.         return $this;
  810.     }
  811.     /**
  812.      * Get diskType
  813.      *
  814.      * @return string
  815.      */
  816.     public function getDiskType()
  817.     {
  818.         return $this->diskType;
  819.     }
  820.     /**
  821.      * Set opticalType
  822.      *
  823.      * @param string $opticalType
  824.      * @return AikenShipmentItem
  825.      */
  826.     public function setOpticalType($opticalType)
  827.     {
  828.         $this->opticalType = $opticalType;
  829.         return $this;
  830.     }
  831.     /**
  832.      * Get opticalType
  833.      *
  834.      * @return string
  835.      */
  836.     public function getOpticalType()
  837.     {
  838.         return $this->opticalType;
  839.     }
  840.     /**
  841.      * Set screenResolution
  842.      *
  843.      * @param string $screenResolution
  844.      * @return AikenShipmentItem
  845.      */
  846.     public function setScreenResolution($screenResolution)
  847.     {
  848.         $this->screenResolution = $screenResolution;
  849.         return $this;
  850.     }
  851.     /**
  852.      * Get screenResolution
  853.      *
  854.      * @return string
  855.      */
  856.     public function getScreenResolution()
  857.     {
  858.         return $this->screenResolution;
  859.     }
  860.     /**
  861.      * Set motherboard
  862.      *
  863.      * @param string $motherboard
  864.      * @return AikenShipmentItem
  865.      */
  866.     public function setMotherboard($motherboard)
  867.     {
  868.         $this->motherboard = $motherboard;
  869.         return $this;
  870.     }
  871.     /**
  872.      * Get motherboard
  873.      *
  874.      * @return string
  875.      */
  876.     public function getMotherboard()
  877.     {
  878.         return $this->motherboard;
  879.     }
  880.     /**
  881.      * Set network
  882.      *
  883.      * @param string $network
  884.      * @return AikenShipmentItem
  885.      */
  886.     public function setNetwork($network)
  887.     {
  888.         $this->network = $network;
  889.         return $this;
  890.     }
  891.     /**
  892.      * Get network
  893.      *
  894.      * @return string
  895.      */
  896.     public function getNetwork()
  897.     {
  898.         return $this->network;
  899.     }
  900.     /**
  901.      * Set webcam
  902.      *
  903.      * @param boolean $webcam
  904.      * @return AikenShipmentItem
  905.      */
  906.     public function setWebcam($webcam)
  907.     {
  908.         $this->webcam = $webcam;
  909.         return $this;
  910.     }
  911.     /**
  912.      * Get webcam
  913.      *
  914.      * @return boolean
  915.      */
  916.     public function getWebcam()
  917.     {
  918.         return $this->webcam;
  919.     }
  920.     /**
  921.      * Set opticalProduct
  922.      *
  923.      * @param string $opticalProduct
  924.      * @return AikenShipmentItem
  925.      */
  926.     public function setOpticalProduct($opticalProduct)
  927.     {
  928.         $this->opticalProduct = $opticalProduct;
  929.         return $this;
  930.     }
  931.     /**
  932.      * Get opticalProduct
  933.      *
  934.      * @return string
  935.      */
  936.     public function getOpticalProduct()
  937.     {
  938.         return $this->opticalProduct;
  939.     }
  940.     /**
  941.      * Set wifi
  942.      *
  943.      * @param boolean $wifi
  944.      * @return AikenShipmentItem
  945.      */
  946.     public function setWifi($wifi)
  947.     {
  948.         $this->wifi = $wifi;
  949.         return $this;
  950.     }
  951.     /**
  952.      * Get wifi
  953.      *
  954.      * @return boolean
  955.      */
  956.     public function getWifi()
  957.     {
  958.         return $this->wifi;
  959.     }
  960.     /**
  961.      * Set graphicCard
  962.      *
  963.      * @param string $graphicCard
  964.      * @return AikenShipmentItem
  965.      */
  966.     public function setGraphicCard($graphicCard)
  967.     {
  968.         $this->graphicCard = $graphicCard;
  969.         return $this;
  970.     }
  971.     /**
  972.      * Get graphicCard
  973.      *
  974.      * @return string
  975.      */
  976.     public function getGraphicCard()
  977.     {
  978.         return $this->graphicCard;
  979.     }
  980.     /**
  981.      * Set bluetooth
  982.      *
  983.      * @param boolean $bluetooth
  984.      * @return AikenShipmentItem
  985.      */
  986.     public function setBluetooth($bluetooth)
  987.     {
  988.         $this->bluetooth = $bluetooth;
  989.         return $this;
  990.     }
  991.     /**
  992.      * Get bluetooth
  993.      *
  994.      * @return boolean
  995.      */
  996.     public function getBluetooth()
  997.     {
  998.         return $this->bluetooth;
  999.     }
  1000.     /**
  1001.      * Set fingerprintReader
  1002.      *
  1003.      * @param boolean $fingerprintReader
  1004.      * @return AikenShipmentItem
  1005.      */
  1006.     public function setFingerprintReader($fingerprintReader)
  1007.     {
  1008.         $this->fingerprintReader = $fingerprintReader;
  1009.         return $this;
  1010.     }
  1011.     /**
  1012.      * Get fingerprintReader
  1013.      *
  1014.      * @return boolean
  1015.      */
  1016.     public function getFingerprintReader()
  1017.     {
  1018.         return $this->fingerprintReader;
  1019.     }
  1020.     /**
  1021.      * Set gsm
  1022.      *
  1023.      * @param boolean $gsm
  1024.      * @return AikenShipmentItem
  1025.      */
  1026.     public function setGsm($gsm)
  1027.     {
  1028.         $this->gsm = $gsm;
  1029.         return $this;
  1030.     }
  1031.     /**
  1032.      * Get gsm
  1033.      *
  1034.      * @return boolean
  1035.      */
  1036.     public function getGsm()
  1037.     {
  1038.         return $this->gsm;
  1039.     }
  1040.     /**
  1041.      * Set error
  1042.      *
  1043.      * @param string $error
  1044.      * @return AikenShipmentItem
  1045.      */
  1046.     public function setError($error)
  1047.     {
  1048.         $this->error = $error;
  1049.         return $this;
  1050.     }
  1051.     /**
  1052.      * Get error
  1053.      *
  1054.      * @return string
  1055.      */
  1056.     public function getError()
  1057.     {
  1058.         return $this->error;
  1059.     }
  1060.     /**
  1061.      * @return string
  1062.      */
  1063.     public function getHdd1size()
  1064.     {
  1065.         return $this->hdd1size;
  1066.     }
  1067.     /**
  1068.      * @param string $hdd1size
  1069.      */
  1070.     public function setHdd1size($hdd1size)
  1071.     {
  1072.         $this->hdd1size = $hdd1size;
  1073.     }
  1074.     /**
  1075.      * @return string
  1076.      */
  1077.     public function getHdd1model()
  1078.     {
  1079.         return $this->hdd1model;
  1080.     }
  1081.     /**
  1082.      * @param string $hdd1model
  1083.      */
  1084.     public function setHdd1model($hdd1model)
  1085.     {
  1086.         $this->hdd1model = $hdd1model;
  1087.     }
  1088.     /**
  1089.      * @return string
  1090.      */
  1091.     public function getHdd2size()
  1092.     {
  1093.         return $this->hdd2size;
  1094.     }
  1095.     /**
  1096.      * @param string $hdd2size
  1097.      */
  1098.     public function setHdd2size($hdd2size)
  1099.     {
  1100.         $this->hdd2size = $hdd2size;
  1101.     }
  1102.     /**
  1103.      * @return string
  1104.      */
  1105.     public function getHdd2model()
  1106.     {
  1107.         return $this->hdd2model;
  1108.     }
  1109.     /**
  1110.      * @param string $hdd2model
  1111.      */
  1112.     public function setHdd2model($hdd2model)
  1113.     {
  1114.         $this->hdd1model = $hdd2model;
  1115.     }
  1116.     /**
  1117.      * @return string
  1118.      */
  1119.     public function getHdd3size()
  1120.     {
  1121.         return $this->hdd3size;
  1122.     }
  1123.     /**
  1124.      * @param string $hdd3size
  1125.      */
  1126.     public function setHdd3size($hdd3size)
  1127.     {
  1128.         $this->hdd3size = $hdd3size;
  1129.     }
  1130.     /**
  1131.      * @return string
  1132.      */
  1133.     public function getHdd3model()
  1134.     {
  1135.         return $this->hdd3model;
  1136.     }
  1137.     /**
  1138.      * @param string $hdd3model
  1139.      */
  1140.     public function setHdd3model($hdd3model)
  1141.     {
  1142.         $this->hdd3model = $hdd3model;
  1143.     }
  1144.     /**
  1145.      * @return string
  1146.      */
  1147.     public function getHdd4size()
  1148.     {
  1149.         return $this->hdd4size;
  1150.     }
  1151.     /**
  1152.      * @param string $hdd4size
  1153.      */
  1154.     public function setHdd4size($hdd4size)
  1155.     {
  1156.         $this->hdd4size = $hdd4size;
  1157.     }
  1158.     /**
  1159.      * @return string
  1160.      */
  1161.     public function getHdd4model()
  1162.     {
  1163.         return $this->hdd4model;
  1164.     }
  1165.     /**
  1166.      * @param string $hdd4model
  1167.      */
  1168.     public function setHdd4model($hdd4model)
  1169.     {
  1170.         $this->hdd4model = $hdd4model;
  1171.     }
  1172.     /**
  1173.      * @return string
  1174.      */
  1175.     public function getKeyboard()
  1176.     {
  1177.         return $this->keyboard;
  1178.     }
  1179.     /**
  1180.      * @param string $keyboard
  1181.      */
  1182.     public function setKeyboard($keyboard)
  1183.     {
  1184.         $this->keyboard = $keyboard;
  1185.     }
  1186.     /**
  1187.      * @return string
  1188.      */
  1189.     public function getCoa()
  1190.     {
  1191.         return $this->coa;
  1192.     }
  1193.     /**
  1194.      * @param string $coa
  1195.      */
  1196.     public function setCoa($coa)
  1197.     {
  1198.         $this->coa = $coa;
  1199.     }
  1200.     /**
  1201.      * @return string
  1202.      */
  1203.     public function getCoaNumber()
  1204.     {
  1205.         return $this->coaNumber;
  1206.     }
  1207.     /**
  1208.      * @param string $coaNumber
  1209.      */
  1210.     public function setCoaNumber($coaNumber)
  1211.     {
  1212.         $this->coaNumber = $coaNumber;
  1213.     }
  1214.     /**
  1215.      * @return string
  1216.      */
  1217.     public function getNewCoaNumber()
  1218.     {
  1219.         return $this->newCoaNumber;
  1220.     }
  1221.     /**
  1222.      * @param string $newCoaNumber
  1223.      */
  1224.     public function setNewCoaNumber($newCoaNumber)
  1225.     {
  1226.         $this->newCoaNumber = $newCoaNumber;
  1227.     }
  1228.     /**
  1229.      * @return string
  1230.      */
  1231.     public function getOsInstalled()
  1232.     {
  1233.         return $this->osInstalled;
  1234.     }
  1235.     /**
  1236.      * @param string $osInstalled
  1237.      */
  1238.     public function setOsInstalled($osInstalled)
  1239.     {
  1240.         $this->osInstalled = $osInstalled;
  1241.     }
  1242.     /**
  1243.      * @return string
  1244.      */
  1245.     public function getObservCodes()
  1246.     {
  1247.         return $this->observCodes;
  1248.     }
  1249.     /**
  1250.      * @param string $observCodes
  1251.      */
  1252.     public function setObservCodes($observCodes)
  1253.     {
  1254.         $this->observCodes = $observCodes;
  1255.     }
  1256.     /**
  1257.      * @return string
  1258.      */
  1259.     public function getTester()
  1260.     {
  1261.         return $this->tester;
  1262.     }
  1263.     /**
  1264.      * @param string $tester
  1265.      */
  1266.     public function setTester($tester)
  1267.     {
  1268.         $this->tester = $tester;
  1269.     }
  1270.     /**
  1271.      * @return string
  1272.      */
  1273.     public function getMotherboardModel()
  1274.     {
  1275.         return $this->motherboardModel;
  1276.     }
  1277.     /**
  1278.      * @param string $motherboardModel
  1279.      */
  1280.     public function setMotherboardModel($motherboardModel)
  1281.     {
  1282.         $this->motherboardModel = $motherboardModel;
  1283.     }
  1284.     /**
  1285.      * @return string
  1286.      */
  1287.     public function getCpuSocket()
  1288.     {
  1289.         return $this->cpuSocket;
  1290.     }
  1291.     /**
  1292.      * @param string $cpuSocket
  1293.      */
  1294.     public function setCpuSocket($cpuSocket)
  1295.     {
  1296.         $this->cpuSocket = $cpuSocket;
  1297.     }
  1298.     /**
  1299.      * @return string
  1300.      */
  1301.     public function getRam1model()
  1302.     {
  1303.         return $this->ram1model;
  1304.     }
  1305.     /**
  1306.      * @param string $ram1model
  1307.      */
  1308.     public function setRam1model($ram1model)
  1309.     {
  1310.         $this->ram1model = $ram1model;
  1311.     }
  1312.     /**
  1313.      * @return string
  1314.      */
  1315.     public function getRam1type()
  1316.     {
  1317.         return $this->ram1type;
  1318.     }
  1319.     /**
  1320.      * @param string $ram1type
  1321.      */
  1322.     public function setRam1type($ram1type)
  1323.     {
  1324.         $this->ram1type = $ram1type;
  1325.     }
  1326.     /**
  1327.      * @return string
  1328.      */
  1329.     public function getRam1size()
  1330.     {
  1331.         return $this->ram1size;
  1332.     }
  1333.     /**
  1334.      * @param string $ram1size
  1335.      */
  1336.     public function setRam1size($ram1size)
  1337.     {
  1338.         $this->ram1size = $ram1size;
  1339.     }
  1340.     /**
  1341.      * @return string
  1342.      */
  1343.     public function getRam2model()
  1344.     {
  1345.         return $this->ram2model;
  1346.     }
  1347.     /**
  1348.      * @param string $ram2model
  1349.      */
  1350.     public function setRam2model($ram2model)
  1351.     {
  1352.         $this->ram2model = $ram2model;
  1353.     }
  1354.     /**
  1355.      * @return string
  1356.      */
  1357.     public function getRam2type()
  1358.     {
  1359.         return $this->ram2type;
  1360.     }
  1361.     /**
  1362.      * @param string $ram2type
  1363.      */
  1364.     public function setRam2type($ram2type)
  1365.     {
  1366.         $this->ram2type = $ram2type;
  1367.     }
  1368.     /**
  1369.      * @return string
  1370.      */
  1371.     public function getRam2size()
  1372.     {
  1373.         return $this->ram2size;
  1374.     }
  1375.     /**
  1376.      * @param string $ram2size
  1377.      */
  1378.     public function setRam2size($ram2size)
  1379.     {
  1380.         $this->ram2size = $ram2size;
  1381.     }
  1382.     /**
  1383.      * @return string
  1384.      */
  1385.     public function getRam3model()
  1386.     {
  1387.         return $this->ram3model;
  1388.     }
  1389.     /**
  1390.      * @param string $ram3model
  1391.      */
  1392.     public function setRam3model($ram3model)
  1393.     {
  1394.         $this->ram3model = $ram3model;
  1395.     }
  1396.     /**
  1397.      * @return string
  1398.      */
  1399.     public function getRam3type()
  1400.     {
  1401.         return $this->ram3type;
  1402.     }
  1403.     /**
  1404.      * @param string $ram3type
  1405.      */
  1406.     public function setRam3type($ram3type)
  1407.     {
  1408.         $this->ram3type = $ram3type;
  1409.     }
  1410.     /**
  1411.      * @return string
  1412.      */
  1413.     public function getRam3size()
  1414.     {
  1415.         return $this->ram3size;
  1416.     }
  1417.     /**
  1418.      * @param string $ram3size
  1419.      */
  1420.     public function setRam3size($ram3size)
  1421.     {
  1422.         $this->ram3size = $ram3size;
  1423.     }
  1424.     /**
  1425.      * @return string
  1426.      */
  1427.     public function getRam4model()
  1428.     {
  1429.         return $this->ram4model;
  1430.     }
  1431.     /**
  1432.      * @param string $ram4model
  1433.      */
  1434.     public function setRam4model($ram4model)
  1435.     {
  1436.         $this->ram4model = $ram4model;
  1437.     }
  1438.     /**
  1439.      * @return string
  1440.      */
  1441.     public function getRam4type()
  1442.     {
  1443.         return $this->ram4type;
  1444.     }
  1445.     /**
  1446.      * @param string $ram4type
  1447.      */
  1448.     public function setRam4type($ram4type)
  1449.     {
  1450.         $this->ram4type = $ram4type;
  1451.     }
  1452.     /**
  1453.      * @return string
  1454.      */
  1455.     public function getRam4size()
  1456.     {
  1457.         return $this->ram4size;
  1458.     }
  1459.     /**
  1460.      * @param string $ram4size
  1461.      */
  1462.     public function setRam4size($ram4size)
  1463.     {
  1464.         $this->ram4size = $ram4size;
  1465.     }
  1466.     /**
  1467.      * @return string
  1468.      */
  1469.     public function getBatteryDuration()
  1470.     {
  1471.         return $this->batteryDuration;
  1472.     }
  1473.     /**
  1474.      * @param string $batteryDuration
  1475.      */
  1476.     public function setBatteryDuration($batteryDuration)
  1477.     {
  1478.         $this->batteryDuration = $batteryDuration;
  1479.     }
  1480.     // Add getters and setters
  1481.     public function getBatteryPercentage1(): ?string
  1482.     {
  1483.         return $this->batteryPercentage1;
  1484.     }
  1485.     public function setBatteryPercentage1(?string $batteryPercentage1): self
  1486.     {
  1487.         $this->batteryPercentage1 = $batteryPercentage1;
  1488.         return $this;
  1489.     }
  1490.     public function getBatteryCycleCount1(): ?int
  1491.     {
  1492.         return $this->batteryCycleCount1;
  1493.     }
  1494.     public function setBatteryCycleCount1(?int $batteryCycleCount1): self
  1495.     {
  1496.         $this->batteryCycleCount1 = $batteryCycleCount1;
  1497.         return $this;
  1498.     }
  1499.     public function getBatteryCycleCount2(): ?int
  1500.     {
  1501.         return $this->batteryCycleCount2;
  1502.     }
  1503.     public function setBatteryCycleCount2(?int $batteryCycleCount): self
  1504.     {
  1505.         $this->batteryCycleCount2 = $batteryCycleCount;
  1506.         return $this;
  1507.     }
  1508.     public function getBatteryPercentage2(): ?string
  1509.     {
  1510.         return $this->batteryPercentage2;
  1511.     }
  1512.     public function setBatteryPercentage2(?string $batteryPercentage2): self
  1513.     {
  1514.         $this->batteryPercentage2 = $batteryPercentage2;
  1515.         return $this;
  1516.     }
  1517.     /**
  1518.      * @return int
  1519.      */
  1520.     public function getSource()
  1521.     {
  1522.         return $this->getAikenShipment()->getSource();
  1523.     }
  1524.     /**
  1525.      * @return string
  1526.      */
  1527.     public function getHdd1type()
  1528.     {
  1529.         return $this->hdd1type;
  1530.     }
  1531.     /**
  1532.      * @param string $hdd1type
  1533.      */
  1534.     public function setHdd1type($hdd1type)
  1535.     {
  1536.         $this->hdd1type = $hdd1type;
  1537.     }
  1538.     /**
  1539.      * @return string
  1540.      */
  1541.     public function getHdd2type()
  1542.     {
  1543.         return $this->hdd2type;
  1544.     }
  1545.     /**
  1546.      * @param string $hdd2type
  1547.      */
  1548.     public function setHdd2type($hdd2type)
  1549.     {
  1550.         $this->hdd2type = $hdd2type;
  1551.     }
  1552.     /**
  1553.      * @return string
  1554.      */
  1555.     public function getKeyboardBacklight()
  1556.     {
  1557.         return $this->keyboardBacklight;
  1558.     }
  1559.     /**
  1560.      * @param string $keyboardBacklight
  1561.      */
  1562.     public function setKeyboardBacklight($keyboardBacklight)
  1563.     {
  1564.         $this->keyboardBacklight = $keyboardBacklight;
  1565.     }
  1566.     /**
  1567.      * @return string
  1568.      */
  1569.     public function getKeyboardColor()
  1570.     {
  1571.         return $this->keyboardColor;
  1572.     }
  1573.     /**
  1574.      * @param string $keyboardColor
  1575.      */
  1576.     public function setKeyboardColor($keyboardColor)
  1577.     {
  1578.         $this->keyboardColor = $keyboardColor;
  1579.     }
  1580.     /**
  1581.      * @return string
  1582.      */
  1583.     public function getLongIKey()
  1584.     {
  1585.         return $this->longIKey;
  1586.     }
  1587.     /**
  1588.      * @param string $longIKey
  1589.      */
  1590.     public function setLongIKey($longIKey)
  1591.     {
  1592.         $this->longIKey = $longIKey;
  1593.     }
  1594.     /**
  1595.      * @return string
  1596.      */
  1597.     public function getKeyboardLanguage()
  1598.     {
  1599.         return $this->keyboardLanguage;
  1600.     }
  1601.     /**
  1602.      * @param string $keyboardLanguage
  1603.      */
  1604.     public function setKeyboardLanguage($keyboardLanguage)
  1605.     {
  1606.         $this->keyboardLanguage = $keyboardLanguage;
  1607.     }
  1608.     /**
  1609.      * @return bool
  1610.      */
  1611.     public function isTouchScreen()
  1612.     {
  1613.         return $this->touchScreen;
  1614.     }
  1615.     /**
  1616.      * @param bool $touchScreen
  1617.      */
  1618.     public function setTouchScreen($touchScreen)
  1619.     {
  1620.         $this->touchScreen = $touchScreen;
  1621.     }
  1622.     /**
  1623.      * @return bool|null
  1624.      */
  1625.     public function isPenForTouchscreen(): ?bool
  1626.     {
  1627.         return $this->penForTouchscreen;
  1628.     }
  1629.     /**
  1630.      * @param bool $penForTouchscreen
  1631.      */
  1632.     public function setPenForTouchscreen(bool $penForTouchscreen): void
  1633.     {
  1634.         $this->penForTouchscreen = $penForTouchscreen;
  1635.     }
  1636.     /**
  1637.      * @return bool|null
  1638.      */
  1639.     public function isTrackpoint(): ?bool
  1640.     {
  1641.         return $this->trackpoint;
  1642.     }
  1643.     /**
  1644.      * @param bool $trackpoint
  1645.      */
  1646.     public function setTrackpoint(bool $trackpoint): void
  1647.     {
  1648.         $this->trackpoint = $trackpoint;
  1649.     }
  1650.     /**
  1651.      * @return null|string
  1652.      */
  1653.     public function getAssetTag(): ?string
  1654.     {
  1655.         return $this->assetTag;
  1656.     }
  1657.     /**
  1658.      * @param string|null $assetTag
  1659.      */
  1660.     public function setAssetTag(?string $assetTag): void
  1661.     {
  1662.         $this->assetTag = $assetTag;
  1663.     }
  1664.     /**
  1665.      * @return string
  1666.      */
  1667.     public function getImei()
  1668.     {
  1669.         return $this->imei;
  1670.     }
  1671.     /**
  1672.      * @param string $imei
  1673.      */
  1674.     public function setImei($imei)
  1675.     {
  1676.         $this->imei = $imei;
  1677.     }
  1678.     /**
  1679.      * @return bool|null
  1680.      */
  1681.     public function isSmartcard(): ?bool
  1682.     {
  1683.         return $this->smartcard;
  1684.     }
  1685.     /**
  1686.      * @param bool|null $smartcard
  1687.      * @return void
  1688.      */
  1689.     public function setSmartcard(?bool $smartcard): void
  1690.     {
  1691.         $this->smartcard = $smartcard;
  1692.     }
  1693.     /**
  1694.      * @return bool|null
  1695.      */
  1696.     public function isCardreader(): ?bool
  1697.     {
  1698.         return $this->cardreader;
  1699.     }
  1700.     /**
  1701.      * @param bool|null $cardreader
  1702.      * @return void
  1703.      */
  1704.     public function setCardreader(?bool $cardreader): void
  1705.     {
  1706.         $this->cardreader = $cardreader;
  1707.     }
  1708. }