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.

31 lines
667 B

4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. package com.asset.complaint;
  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_complaint_question")
  12. public class ComplaintQuestion {
  13. @Id
  14. @GeneratedValue(strategy = GenerationType.AUTO)
  15. @Column(name="complaint_question_id", nullable=false)
  16. public Integer complaintQuestionId;
  17. @Column(name="complaint_id")
  18. public Integer complaintId;
  19. @Column(name="question")
  20. public String question;
  21. @Column(name="feedback")
  22. public String feedback;
  23. }