You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
997 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. package com.asset.feedback;
  2. import javax.persistence.Column;
  3. import javax.persistence.Entity;
  4. import javax.persistence.GeneratedValue;
  5. import javax.persistence.GenerationType;
  6. import javax.persistence.Id;
  7. import javax.persistence.Table;
  8. import lombok.Data;
  9. @Entity
  10. @Data
  11. @Table(name = "asset_feedback_question")
  12. public class FeedbackQuestion {
  13. @Id
  14. @GeneratedValue(strategy = GenerationType.AUTO)
  15. @Column(name="feedback_question_id", nullable=false)
  16. public Integer feedbackQuestionId;
  17. @Column(name="asset_id")
  18. public String assetId;
  19. @Column(name="asset_name")
  20. public String assetName;
  21. @Column(name="asset_type")
  22. public String assetType;
  23. @Column(name="question_english")
  24. public String questionEnglish;
  25. @Column(name="question_tamil")
  26. public String questionTamil;
  27. @Column(name="question_type")
  28. public String questionType;
  29. //@JoinColumn(name = "asset_id", nullable = false, insertable=false, updatable=false)
  30. //private Feedback feedback;
  31. }