<?php
/**
 * DataSet Entity
 * 
 * DataSet support for EFP datasets from responses imported via xml file
 * 
 * @author tm - Advantis
 * @version 1.0.1
 * @package Backend\DataSets 
 */
class Dataset extends Entity {
	
	// DB Model
	const BASEENTITY = 'receivedfiles';
	const LISTVIEW = 'vw_datasets';
	public $id;
	public $statisticaltypeid;
	public $organisationid;
	public $filetypeid;
	public $fromyear;
	public $toyear;
	public $creationdate;
	public $receptiondate;
	public $statuscodeid;
	public $userid;
	public $filename;
	public $annotation;
	
	/**
	 * Construtor
	 * If $id is passed gets entity from DB model baseentity
	 *
	 * @param int $id
	 *        	(optional)
	 */
	function Dataset($id = null) {
		parent::Entity ( $this::BASEENTITY, $id );
	}
}

?>

