mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-17 20:38:41 +00:00
Draft
This commit is contained in:
parent
56a29501ce
commit
cae11dd4f6
132
Utils/Barcode/HIBCC.php
Normal file
132
Utils/Barcode/HIBCC.php
Normal file
|
|
@ -0,0 +1,132 @@
|
|||
<?php
|
||||
/**
|
||||
* Orange Management
|
||||
*
|
||||
* PHP Version 7.0
|
||||
*
|
||||
* @category TBD
|
||||
* @package TBD
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @copyright 2013 Dennis Eichhorn
|
||||
* @license OMS License 1.0
|
||||
* @version 1.0.0
|
||||
* @link http://orange-management.com
|
||||
*/
|
||||
|
||||
namespace phpOMS\Utils\Barcode;
|
||||
|
||||
/**
|
||||
* Aztec class.
|
||||
*
|
||||
* @category Log
|
||||
* @package Framework
|
||||
* @author OMS Development Team <dev@oms.com>
|
||||
* @author Dennis Eichhorn <d.eichhorn@oms.com>
|
||||
* @license OMS License 1.0
|
||||
* @link http://orange-management.com
|
||||
* @since 1.0.0
|
||||
*/
|
||||
class HIBCC
|
||||
{
|
||||
private $identifier = '';
|
||||
private $productId = '';
|
||||
private $measureOfUnit = 0;
|
||||
private $dateFormat = '';
|
||||
private $expirationDate = null;
|
||||
private $productionDate = null;
|
||||
private $lot = '';
|
||||
private $checkValue = 0;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public function setIdentifier(string $identifier) /* : void */
|
||||
{
|
||||
$this->identifer = $identifier;
|
||||
}
|
||||
|
||||
public function getIdentifier() : string
|
||||
{
|
||||
return $this->identifer;
|
||||
}
|
||||
|
||||
public function setProductId(string $id) /* : void */
|
||||
{
|
||||
$this->productId = $id;
|
||||
}
|
||||
|
||||
public function getProductId() : string
|
||||
{
|
||||
return $this->productId;
|
||||
}
|
||||
|
||||
public function setMeasureOfUnit(int $measure) /* : void */
|
||||
{
|
||||
$this->measureOfUnit = $measure;
|
||||
}
|
||||
|
||||
public function getMeasureOfUnit() : int
|
||||
{
|
||||
return $this->measureOfUnit;
|
||||
}
|
||||
|
||||
public function setDateFormat(string $format) /* : void */
|
||||
{
|
||||
$this->dateFormat = $format;
|
||||
}
|
||||
|
||||
public function getDateFormat() : string
|
||||
{
|
||||
return $this->dateFormat();
|
||||
}
|
||||
|
||||
public function setExpirationDate(\DateTime $date) /* : void */
|
||||
{
|
||||
$this->expirationDate = $date;
|
||||
}
|
||||
|
||||
public function getExpirationDate() : \Datetime
|
||||
{
|
||||
return $this->expirationDate;
|
||||
}
|
||||
|
||||
public function setPrductionDate(\DateTime $date) /* : void */
|
||||
{
|
||||
$this->productionDate = $date;
|
||||
}
|
||||
|
||||
public function getProductionDate() : \DateTime
|
||||
{
|
||||
return $this->productionDate;
|
||||
}
|
||||
|
||||
public function setLOT(string $lot) /* : void */
|
||||
{
|
||||
$this->lot = $lot;
|
||||
}
|
||||
|
||||
public function getLOT() : string
|
||||
{
|
||||
return $this->lot;
|
||||
}
|
||||
|
||||
public function getCheckValue() : int
|
||||
{
|
||||
return $this->checkValue;
|
||||
}
|
||||
|
||||
public function getPrimaryDI() : string
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
public function getSecondaryDI() : string
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user