Skip to content

Instantly share code, notes, and snippets.

@gAmUssA
Created July 31, 2012 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gAmUssA/3218096 to your computer and use it in GitHub Desktop.
Save gAmUssA/3218096 to your computer and use it in GitHub Desktop.
simple entity annotated with @jsclass
package clear.example.entity;
import com.farata.dto2extjs.annotations.*;
import java.io.Serializable;
import javax.persistence.*;
@Entity
@Table(name = "company_associate")
@JSClass
public class CompanyAssociate implements Serializable {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment