package safeluck.drive.evaluation.DB.lightdb;
|
|
import androidx.room.Entity;
|
import androidx.room.PrimaryKey;
|
|
/**
|
* DriveJudge
|
* Created by lzw on 2021/1/14. 09:44:23
|
* 邮箱:632393724@qq.com
|
* All Rights Saved! Chongqing AnYun Tech co. LTD
|
*/
|
@Entity(tableName = "lightUseQuest")
|
public class LightUseQuestions {
|
@PrimaryKey
|
private int id;
|
|
private String question;
|
private String answer;
|
private int flag;// 1-不可删除 0-可删除
|
|
public int getId() {
|
return id;
|
}
|
|
public void setId(int id) {
|
this.id = id;
|
}
|
|
public String getQuestion() {
|
return question;
|
}
|
|
public void setQuestion(String question) {
|
this.question = question;
|
}
|
|
public String getAnswer() {
|
return answer;
|
}
|
|
public void setAnswer(String answer) {
|
this.answer = answer;
|
}
|
|
public int getFlag() {
|
return flag;
|
}
|
|
public void setFlag(int flag) {
|
this.flag = flag;
|
}
|
|
@Override
|
public String toString() {
|
return "LightUseQuestions{" +
|
"id=" + id +
|
", question='" + question + '\'' +
|
", answer='" + answer + '\'' +
|
", flag=" + flag +
|
'}';
|
}
|
}
|