|
@@ -8,7 +8,7 @@
|
8
|
8
|
-
|
9
|
9
|
# Part 1.1 - Create class `Option`
|
10
|
10
|
* Create an `Option` class in the `domain` sub-package.
|
11
|
|
-
|
|
11
|
+* `Option` class signature is annotated with `@Entity`
|
12
|
12
|
* `Option` has an `id` instance variable of type `Long`
|
13
|
13
|
* `id` should be `annotated` with
|
14
|
14
|
* `@Id`
|
|
@@ -28,7 +28,7 @@
|
28
|
28
|
-
|
29
|
29
|
# Part 1.2 - Create class `Poll`
|
30
|
30
|
* Create a `Poll` class in the `domain` sub-package.
|
31
|
|
-
|
|
31
|
+* `Poll` class signature is annotated with `@Entity`
|
32
|
32
|
* `Poll` has an `id` instance variable of type `Long`
|
33
|
33
|
* `id` should be `annotated` with
|
34
|
34
|
* `@Id`
|
|
@@ -52,7 +52,7 @@
|
52
|
52
|
-
|
53
|
53
|
# Part 1.3 - Create class `Vote`
|
54
|
54
|
* Create a `Vote` class in the `domain` sub-package.
|
55
|
|
-
|
|
55
|
+* `Vote` class signature is annotated with `@Entity`
|
56
|
56
|
* `Vote` has an `id` instance variable of type `Long`
|
57
|
57
|
* `id` should be `annotated` with
|
58
|
58
|
* `@Id`
|