package com.introproventures.graphql.jpa.query.schema.model.starwars;

import com.introproventures.graphql.jpa.query.annotation.GraphQLDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

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


@Entity(name = "droid_function")
@GraphQLDescription("Represents the functions a droid can have")
@Data
@EqualsAndHashCode()
public class DroidFunction {

    @Id
    @GraphQLDescription("Primary Key for the DroidFunction Class")
    String id;
    
    String function;
    
    

}

@@ -64,16 +64,111 @@
 rwars;%0A%0A
+import javax.persistence.Entity;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.Table;%0A%0A
 import c
@@ -294,79 +294,16 @@
 e;%0A%0A
-import javax.persistence.Entity;%0Aimport javax.persistence.Id;%0A%0A
 %0A@Entity
 (nam
@@ -298,16 +298,23 @@
 %0A@Entity
+%0A@Table
 (name = 

change droid_function entity name to DroidFunction (#117)