| 1 | <?php |
||
| 7 | class File extends AbstractEntity |
||
| 8 | { |
||
| 9 | const ENTITY_TYPE = 'File'; |
||
| 10 | |||
| 11 | protected $file_id; |
||
| 12 | |||
| 13 | protected $file_size; |
||
| 14 | |||
| 15 | protected $file_path; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return mixed |
||
| 19 | */ |
||
| 20 | public function getFileId() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param mixed $file_id |
||
| 27 | * |
||
| 28 | * @return $this |
||
| 29 | */ |
||
| 30 | public function setFileId($file_id) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @return mixed |
||
| 39 | */ |
||
| 40 | public function getFileSize() |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param mixed $file_size |
||
| 47 | * |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | public function setFileSize($file_size) |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @return mixed |
||
| 59 | */ |
||
| 60 | public function getFilePath() |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @param mixed $file_path |
||
| 67 | * |
||
| 68 | * @return $this |
||
| 69 | */ |
||
| 70 | public function setFilePath($file_path) |
||
| 76 | |||
| 77 | public function download($storePath) |
||
| 99 | } |