[issue - 35] Add firstName, lastName to User
@@ -21,8 +21,11 @@ public class User {
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
- @Column(nullable = false, length = 100)
- private String name;
+ @Column(nullable = false, length = 20)
+ private String firstName;
+
+ @Column(nullable = false, length = 20)
+ private String lastName;
@Column(unique = true, nullable = false, length = 50)
private String email;
