HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers33/bbec.nl/workbench/komma/kms/src/Komma/Kms/Documents/DocumentEntity.php
<?php
/**
 * Short description for the file.
 *
 * @author      Jaap Faes <jaap@komma.pro>
 * @copyright   (c) 2012-2015, Komma Mediadesign
 */

namespace Komma\Kms\Documents;


use Komma\Kms\Core\Entities\KmsTranslatableEntity;

class DocumentEntity extends KmsTranslatableEntity
{
    public $active = 1;
    public $document_type = 0;
    public $code_name;
    public $name = '';
    public $file;
    public $published_at;

    public function __construct($data, $id =null){
        parent::__construct($data, $id);
    }

    public function setId($id)
    {
        $this->id = $id;
    }

    public function getId()
    {
        return $this->id;
    }

    public function getName($languageId = null)
    {
       return $this->name;
    }

}