<?php
/**
 * Description of ItemDesignSpecification
 * @tableName tbl_item_design_specification
 * @author Kunal Mestri <kunal@laurus-it.com>
 */
class ItemDesignSpecification {
    /**
    * @columnName ITEM_DS_ID
    * @type int
    * @primary 
    */
    private $itemDsId;
    
    /**
    * @columnName ITEM_DS_ITEM_ID
    * @type int
    * @compositeEntity ITEM_DS_ITEM_ID
    * @compositeType Item
    * @join SPECS_WITH_FILES|{"on":FileItemDesignSpecification}
    * @searchable 
    */
    private $itemDsItemId;
    
    
    /**
    * @columnName ITEM_DS_CONTENT
    * @type string
    */
    private $itemDesignSpecifcation;
   
    private $fileList;
    
    public function getItemDsId() {
        return $this->itemDsId;
    }

    public function getItemDsItemId() {
        return $this->itemDsItemId;
    }

    public function getItemDesignSpecifcation() {
        return $this->itemDesignSpecifcation;
    }

    public function getFileList() {
        return $this->fileList;
    }

    public function setItemDsId($itemDsId) {
        $this->itemDsId = $itemDsId;
    }

    public function setItemDsItemId($itemDsItemId) {
        $this->itemDsItemId = $itemDsItemId;
    }

    public function setItemDesignSpecifcation($itemDesignSpecifcation) {
        $this->itemDesignSpecifcation = $itemDesignSpecifcation;
    }

    public function setFileList($fileList) {
        $this->fileList = $fileList;
    }

        
    public function toJson() {
        $map = new Map();
        if ($this->getItemDsId() != "")
            $map->put("itemDsId", $this->getItemDsId());
        if ($this->getItemDsItemId() != "")
            $map->put("itemDsItemId", $this->getItemDsItemId());
        if ($this->getItemDesignSpecifcation() != "")
            $map->put("itemDesignSpecifcation", $this->getItemDesignSpecifcation());
        if ($this->getFileList() != "")
            $map->put("fileList", $this->getFileList());
        return $map->toJson();
    }

}

?>
