File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
module/Application/src/Application/Domain/Model/Cargo Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,17 @@ class Cargo implements EntityInterface
4040 */
4141 protected $ trackingId ;
4242
43+ /**
44+ * Size of the Cargo
45+ *
46+ * ---Annotations required by Doctrine---
47+ * @Column(type="integer")
48+ * --------------------------------------
49+ *
50+ * @var integer
51+ */
52+ protected $ size ;
53+
4354 /**
4455 * Construct
4556 *
@@ -59,7 +70,28 @@ public function getTrackingId()
5970 {
6071 return $ this ->trackingId ;
6172 }
73+
74+ /**
75+ * Get the size of the Cargo.
76+ *
77+ * @return integer
78+ */
79+ public function getSize ()
80+ {
81+ return $ this ->size ;
82+ }
83+
84+ /**
85+ * Set the size of the Cargo.
86+ *
87+ * @param integer $size
88+ */
89+ public function setSize ($ size )
90+ {
91+ $ this ->size = $ size ;
92+ }
6293
94+
6395 /**
6496 * {@inheritDoc}
6597 */
You can’t perform that action at this time.
0 commit comments