Advertisement
Guest User

Entity Class

a guest
Aug 2nd, 2020
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. package com.agileonboarding.agilecapture;
  2.  
  3. /**
  4. * This class was automatically generated by the data modeler tool.
  5. * org.drools.persistence.jpa.marshaller.VariableEntity
  6. */
  7.  
  8. @javax.persistence.Entity
  9. @javax.persistence.Table(schema = "public", name = "CaptureNotes")
  10. public class CaptureNote extends org.drools.persistence.jpa.marshaller.VariableEntity implements java.io.Serializable {
  11.  
  12. static final long serialVersionUID = 1L;
  13.  
  14. @javax.persistence.GeneratedValue(generator = "CAPTURENOTE_ID_GENERATOR", strategy = javax.persistence.GenerationType.AUTO)
  15. @javax.persistence.Id
  16. @javax.persistence.SequenceGenerator(sequenceName = "CAPTURENOTE_ID_SEQ", name = "CAPTURENOTE_ID_GENERATOR")
  17. private java.lang.Long id;
  18.  
  19. @org.kie.api.definition.type.Label(value = "Text")
  20. @javax.persistence.Column(columnDefinition="TEXT")
  21. private java.lang.String text;
  22.  
  23. @org.kie.api.definition.type.Label(value = "Author ID")
  24. private java.lang.Integer author_id;
  25.  
  26. public CaptureNote() {
  27. }
  28.  
  29. public java.lang.Long getId() {
  30. return this.id;
  31. }
  32.  
  33. public void setId(java.lang.Long id) {
  34. this.id = id;
  35. }
  36.  
  37. public java.lang.String getText() {
  38. return this.text;
  39. }
  40.  
  41. public void setText(java.lang.String text) {
  42. this.text = text;
  43. }
  44.  
  45. public java.lang.Integer getAuthor_id() {
  46. return this.author_id;
  47. }
  48.  
  49. public void setAuthor_id(java.lang.Integer author_id) {
  50. this.author_id = author_id;
  51. }
  52.  
  53. public CaptureNote(java.lang.Long id, java.lang.String text,
  54. java.lang.Integer author_id) {
  55. this.id = id;
  56. this.text = text;
  57. this.author_id = author_id;
  58. }
  59.  
  60. }
  61.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement