@@ -0,0 +1,1983 @@
+package domain;%0A%0Aimport org.hibernate.annotations.GenericGenerator;%0A%0Aimport javax.persistence.*;%0A%0A@Entity%0A@Table(name = %22car%22)%0Apublic class Car %7B%0A    private String brand;%0A    private String model;%0A    private String id;%0A%0A    @Basic%0A    @Column(name = %22brand%22, nullable = false, insertable = true, updatable = true, columnDefinition = %22text%22)%0A    public String getBrand() %7B%0A        return brand;%0A    %7D%0A%0A    public void setBrand(String brand) %7B%0A        this.brand = brand;%0A    %7D%0A%0A    @Basic%0A    @Column(name = %22model%22, nullable = false, insertable = true, updatable = true, columnDefinition = %22text%22)%0A    public String getModel() %7B%0A        return model;%0A    %7D%0A%0A    public void setModel(String model) %7B%0A        this.model = model;%0A    %7D%0A%0A    @Id%0A    @GeneratedValue(generator = %22system-uuid%22)%0A    @GenericGenerator(name = %22system-uuid%22, strategy = %22uuid%22)%0A    @Column(name = %22id%22, nullable = false, insertable = true, updatable = true, columnDefinition = %22text%22)%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(String id) %7B%0A        this.id = id;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Car%7B%22 +%0A                %22brand='%22 + brand + '%5C'' +%0A                %22, model='%22 + model + '%5C'' +%0A                %22, id='%22 + id + '%5C'' +%0A                '%7D';%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (!(o instanceof Car)) return false;%0A%0A        Car car = (Car) o;%0A%0A        if (brand != null ? !brand.equals(car.brand) : car.brand != null) return false;%0A        if (model != null ? !model.equals(car.model) : car.model != null) return false;%0A        return id != null ? id.equals(car.id) : car.id == null;%0A%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = brand != null ? brand.hashCode() : 0;%0A        result = 31 * result + (model != null ? model.hashCode() : 0);%0A        result = 31 * result + (id != null ? id.hashCode() : 0);%0A        return result;%0A    %7D%0A%7D%0A

add simple JPA model