| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- package fr.jaquin.bdlg.planner.persistence;
- import javax.persistence.Column;
- import javax.persistence.Entity;
- import javax.persistence.GeneratedValue;
- import javax.persistence.GenerationType;
- import javax.persistence.Id;
- import javax.persistence.Lob;
- import com.fasterxml.jackson.annotation.JsonIgnore;
- @Entity
- public class Questionnaire {
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- private Long id;
- @Column(length = 36)
- private String uuid;
- @Lob
- private String introduction;
- private boolean opened;
- public Questionnaire() {}
- @JsonIgnore
- public Long getId() {
- return this.id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getUuid() {
- return this.uuid;
- }
- public void setUuid(String uuid) {
- this.uuid = uuid;
- }
- public String getIntroduction() {
- return this.introduction;
- }
- public void setIntroduction(String introduction) {
- this.introduction = introduction;
- }
- public boolean isOpened() {
- return opened;
- }
- public void setOpened(boolean opened) {
- this.opened = opened;
- }
- }
|