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.
43 lines
997 B
43 lines
997 B
package com.asset.feedback;
|
|
|
|
import javax.persistence.Column;
|
|
import javax.persistence.Entity;
|
|
import javax.persistence.GeneratedValue;
|
|
import javax.persistence.GenerationType;
|
|
import javax.persistence.Id;
|
|
import javax.persistence.Table;
|
|
|
|
import lombok.Data;
|
|
|
|
@Entity
|
|
@Data
|
|
@Table(name = "asset_feedback_question")
|
|
public class FeedbackQuestion {
|
|
|
|
@Id
|
|
@GeneratedValue(strategy = GenerationType.AUTO)
|
|
@Column(name="feedback_question_id", nullable=false)
|
|
public Integer feedbackQuestionId;
|
|
|
|
@Column(name="asset_id")
|
|
public String assetId;
|
|
|
|
@Column(name="asset_name")
|
|
public String assetName;
|
|
|
|
@Column(name="asset_type")
|
|
public String assetType;
|
|
|
|
@Column(name="question_english")
|
|
public String questionEnglish;
|
|
|
|
@Column(name="question_tamil")
|
|
public String questionTamil;
|
|
|
|
@Column(name="question_type")
|
|
public String questionType;
|
|
|
|
//@JoinColumn(name = "asset_id", nullable = false, insertable=false, updatable=false)
|
|
//private Feedback feedback;
|
|
|
|
}
|