1 | <?php |
||
21 | class FileHistory |
||
22 | { |
||
23 | /** |
||
24 | * @ORM\Id |
||
25 | * @ORM\GeneratedValue(strategy="NONE") |
||
26 | * @ORM\Column(type="string", length=255, name="file_name") |
||
27 | * |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $fileName; |
||
31 | |||
32 | /** |
||
33 | * @ORM\Column(type="string", length=255, name="original_name") |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $originalName; |
||
38 | |||
39 | /** |
||
40 | * @ORM\Column(type="string", length=255) |
||
41 | * |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $type; |
||
45 | |||
46 | /** |
||
47 | * @ORM\Column(type="integer", nullable=true) |
||
48 | * |
||
49 | * @var int |
||
50 | */ |
||
51 | protected $userId; |
||
52 | |||
53 | /** |
||
54 | * Set fileName |
||
55 | * |
||
56 | * @param string $fileName |
||
57 | * @return FileHistory |
||
58 | */ |
||
59 | public function setFileName($fileName) |
||
65 | |||
66 | /** |
||
67 | * Get fileName |
||
68 | * |
||
69 | * @return string |
||
70 | */ |
||
71 | public function getFileName() |
||
75 | |||
76 | /** |
||
77 | * Set originalName |
||
78 | * |
||
79 | * @param string $originalName |
||
80 | * @return FileHistory |
||
81 | */ |
||
82 | public function setOriginalName($originalName) |
||
88 | |||
89 | /** |
||
90 | * Get originalName |
||
91 | * |
||
92 | * @return string |
||
93 | */ |
||
94 | public function getOriginalName() |
||
98 | |||
99 | /** |
||
100 | * Set userId |
||
101 | * |
||
102 | * @param integer $userId |
||
103 | * @return FileHistory |
||
104 | */ |
||
105 | public function setUserId($userId) |
||
111 | |||
112 | /** |
||
113 | * Get userId |
||
114 | * |
||
115 | * @return integer |
||
116 | */ |
||
117 | public function getUserId() |
||
121 | |||
122 | /** |
||
123 | * Set type |
||
124 | * |
||
125 | * @param string $type |
||
126 | * @return FileHistory |
||
127 | */ |
||
128 | public function setType($type) |
||
134 | |||
135 | /** |
||
136 | * Get type |
||
137 | * |
||
138 | * @return string |
||
139 | */ |
||
140 | public function getType() |
||
144 | } |
||
145 |