AutorÃa | Ultima modificación | Ver Log |
package com.cesams.twogetskills.entity;import androidx.room.ColumnInfo;import androidx.room.Entity;import androidx.room.Ignore;import androidx.room.PrimaryKey;import org.jetbrains.annotations.NotNull;@Entity(tableName = "tb_slides")public class Slide {@PrimaryKey@ColumnInfo(name = "uuid")@NotNullprivate String uuid;@ColumnInfo(name = "topic_uuid")private String topicUuid;@ColumnInfo(name = "capsule_uuid")private String capsuleUuid;@ColumnInfo(name = "quiz_uuid")private String quizUuid;@ColumnInfo(name = "name")private String name;@ColumnInfo(name = "description")private String description;@ColumnInfo(name = "type")private String type;@ColumnInfo(name = "file")private String file;@ColumnInfo(name = "background")private String background;@ColumnInfo(name = "position")private int position;@Ignoreprivate int completed;@Ignoreprivate boolean showFinish;public String getUuid() {return uuid;}public void setUuid(String uuid) {this.uuid = uuid;}public String getTopicUuid() {return topicUuid;}public void setTopicUuid(String topicUuid) {this.topicUuid = topicUuid;}public String getCapsuleUuid() {return capsuleUuid;}public void setCapsuleUuid(String capsuleUuid) {this.capsuleUuid = capsuleUuid;}public String getQuizUuid() {return quizUuid;}public void setQuizUuid(String quizUuid) {this.quizUuid = quizUuid;}public String getName() {return name;}public void setName(String name) {this.name = name;}public String getDescription() {return description;}public void setDescription(String description) {this.description = description;}public String getType() {return type;}public void setType(String type) {this.type = type;}public String getFile() {return file;}public void setFile(String file) {this.file = file;}public String getBackground() {return background;}public void setBackground(String background) {this.background = background;}public int getPosition() {return position;}public void setPosition(int position) {this.position = position;}public int getCompleted() {return completed;}public void setCompleted(int completed) {this.completed = completed;}public boolean isShowFinish() {return showFinish;}public void setShowFinish(boolean showFinish) {this.showFinish = showFinish;}public Slide(String uuid, String topicUuid, String capsuleUuid, String quizUuid,String name, String description, String type, String file,String background, int position) {this.uuid = uuid;this.topicUuid = topicUuid;this.capsuleUuid = capsuleUuid;this.quizUuid = quizUuid;this.name = name;this.description = description;this.type = type;this.file = file;this.background = background;this.position = position;}@Ignorepublic Slide() {this.uuid = "";this.topicUuid = "";this.capsuleUuid = "";this.quizUuid = "";this.name = "";this.description = "";this.type = "";this.file = "";this.background = "";this.position = 0;}}