package com.github.alexivchenko.simplewebappwithci.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @author Alex Ivchenko
 */
@Entity
@Builder
@NoArgsConstructor
@AllArgsConstructor
public @Data class User {
    @Id
    @GeneratedValue
    private Long id;
    private String username;
    private String firstName;
    private String lastName;
    private String email;
    private String password;
}

@@ -265,16 +265,48 @@
 ence.Id;
+%0Aimport javax.persistence.Table;
 %0A%0A/**%0A *
@@ -388,16 +388,40 @@
 tructor%0A
+@Table(name = %22%60user%60%22)%0A
 public @

add table name