jimu-decompiled/sources/com/ubt/jimu/base/entities/Course.java
2025-05-13 19:24:51 +02:00

454 lines
10 KiB
Java

package com.ubt.jimu.base.entities;
import android.text.TextUtils;
import java.io.Serializable;
/* loaded from: classes.dex */
public class Course implements Serializable {
public static final String STATUS_COMPLETED = "completed";
public static final String STATUS_RUNNING = "running";
public static final String STATUS_WAITING = "waiting";
public static final String TYPE_BLOCKLY = "code";
public static final String TYPE_BUILD = "build";
private static final long serialVersionUID = 1;
private String answerPath;
private int capArt;
private int capEngineering;
private int capMath;
private int capScience;
private int capSpace;
private long commonResUpdatedTime;
private String commonResource;
private String courseName;
private String courseThumbnail;
private String courseThumbnailLock;
private int createdBy;
private long createdTime;
private String descKey;
private boolean download;
private long downloadTime;
private int exp;
private String finishedFlag;
private long id;
private int isAvailable;
private String isDeleted;
private String lan;
private long langResUpdatedTime;
private String languageResource;
private int level;
private int modelId;
private String nameKey;
private String nextCourse;
private String resourceZip;
private boolean robotDownloaded;
private int score;
private String status;
private String storyName;
private String successStoryVideo;
private int t_id;
private String taskDescKey;
private int updatedBy;
private long updatedTime;
private boolean useable;
private int userId;
public Course() {
}
public String getAnswerPath() {
return this.answerPath;
}
public int getCapArt() {
return this.capArt;
}
public int getCapEngineering() {
return this.capEngineering;
}
public int getCapMath() {
return this.capMath;
}
public int getCapScience() {
return this.capScience;
}
public int getCapSpace() {
return this.capSpace;
}
public long getCommonResUpdatedTime() {
return this.commonResUpdatedTime;
}
public String getCommonResource() {
return this.commonResource;
}
public String getCourseName() {
return this.courseName;
}
public String getCourseThumbnail() {
return this.courseThumbnail;
}
public String getCourseThumbnailLock() {
return this.courseThumbnailLock;
}
public int getCourseType() {
return (TextUtils.isEmpty(this.finishedFlag) || this.finishedFlag.equals("build") || !this.finishedFlag.equals(TYPE_BLOCKLY)) ? 0 : 1;
}
public int getCreatedBy() {
return this.createdBy;
}
public long getCreatedTime() {
return this.createdTime;
}
public int getCurrentStatus() {
if (TextUtils.isEmpty(this.status) || this.status.equals(STATUS_WAITING)) {
return 0;
}
if (this.status.equals(STATUS_RUNNING)) {
return 1;
}
return this.status.equals(STATUS_COMPLETED) ? 2 : 0;
}
public String getDescKey() {
return this.descKey;
}
public boolean getDownload() {
return this.download;
}
public long getDownloadTime() {
return this.downloadTime;
}
public int getExp() {
return this.exp;
}
public String getFinishedFlag() {
return this.finishedFlag;
}
public long getId() {
return this.id;
}
public int getIsAvailable() {
return this.isAvailable;
}
public String getIsDeleted() {
return this.isDeleted;
}
public String getLan() {
return this.lan;
}
public long getLangResUpdatedTime() {
return this.langResUpdatedTime;
}
public String getLanguageResource() {
return this.languageResource;
}
public int getLevel() {
return this.level;
}
public int getModelId() {
return this.modelId;
}
public String getNameKey() {
return this.nameKey;
}
public String getNextCourse() {
return this.nextCourse;
}
public String getResourceZip() {
return this.resourceZip;
}
public boolean getRobotDownloaded() {
return this.robotDownloaded;
}
public int getScore() {
return this.score;
}
public String getStatus() {
return this.status;
}
public String getStoryName() {
return this.storyName;
}
public String getSuccessStoryVideo() {
return this.successStoryVideo;
}
public int getT_id() {
return this.t_id;
}
public String getTaskDescKey() {
return this.taskDescKey;
}
public int getUpdatedBy() {
return this.updatedBy;
}
public long getUpdatedTime() {
return this.updatedTime;
}
public boolean getUseable() {
return this.useable;
}
public int getUserId() {
return this.userId;
}
public boolean isDownload() {
return this.download;
}
public boolean isUseable() {
return this.useable;
}
public void setAnswerPath(String str) {
this.answerPath = str;
}
public void setCapArt(int i) {
this.capArt = i;
}
public void setCapEngineering(int i) {
this.capEngineering = i;
}
public void setCapMath(int i) {
this.capMath = i;
}
public void setCapScience(int i) {
this.capScience = i;
}
public void setCapSpace(int i) {
this.capSpace = i;
}
public void setCommonResUpdatedTime(long j) {
this.commonResUpdatedTime = j;
}
public void setCommonResource(String str) {
this.commonResource = str;
}
public void setCourseName(String str) {
this.courseName = str;
}
public void setCourseThumbnail(String str) {
this.courseThumbnail = str;
}
public void setCourseThumbnailLock(String str) {
this.courseThumbnailLock = str;
}
public void setCreatedBy(int i) {
this.createdBy = i;
}
public void setCreatedTime(long j) {
this.createdTime = j;
}
public void setDescKey(String str) {
this.descKey = str;
}
public void setDownload(boolean z) {
this.download = z;
}
public void setDownloadTime(long j) {
this.downloadTime = j;
}
public void setExp(int i) {
this.exp = i;
}
public void setFinishedFlag(String str) {
this.finishedFlag = str;
}
public void setId(int i) {
this.id = i;
}
public void setIsAvailable(int i) {
this.isAvailable = i;
}
public void setIsDeleted(String str) {
this.isDeleted = str;
}
public void setLan(String str) {
this.lan = str;
}
public void setLangResUpdatedTime(long j) {
this.langResUpdatedTime = j;
}
public void setLanguageResource(String str) {
this.languageResource = str;
}
public void setLevel(int i) {
this.level = i;
}
public void setModelId(int i) {
this.modelId = i;
}
public void setNameKey(String str) {
this.nameKey = str;
}
public void setNextCourse(String str) {
this.nextCourse = str;
}
public void setResourceZip(String str) {
this.resourceZip = str;
}
public void setRobotDownloaded(boolean z) {
this.robotDownloaded = z;
}
public void setScore(int i) {
this.score = i;
}
public void setStatus(String str) {
this.status = str;
}
public void setStoryName(String str) {
this.storyName = str;
}
public void setSuccessStoryVideo(String str) {
this.successStoryVideo = str;
}
public void setT_id(int i) {
this.t_id = i;
}
public void setTaskDescKey(String str) {
this.taskDescKey = str;
}
public void setUpdatedBy(int i) {
this.updatedBy = i;
}
public void setUpdatedTime(long j) {
this.updatedTime = j;
}
public void setUseable(boolean z) {
this.useable = z;
}
public void setUserId(int i) {
this.userId = i;
}
public Course(int i, String str, String str2, String str3) {
this.id = i;
this.nameKey = str;
this.finishedFlag = str2;
this.useable = true;
}
public void setId(long j) {
this.id = j;
}
public Course(int i, long j, String str, String str2, String str3, String str4, int i2, int i3, String str5, String str6, String str7, String str8, String str9, String str10, int i4, long j2, int i5, long j3, String str11, int i6, String str12, int i7, int i8, int i9, int i10, int i11, int i12, int i13, int i14, boolean z, long j4, boolean z2, String str13, String str14, String str15, boolean z3, String str16, long j5, String str17, long j6) {
this.t_id = i;
this.id = j;
this.storyName = str;
this.nameKey = str2;
this.descKey = str3;
this.taskDescKey = str4;
this.modelId = i2;
this.level = i3;
this.courseName = str5;
this.nextCourse = str6;
this.successStoryVideo = str7;
this.finishedFlag = str8;
this.answerPath = str9;
this.resourceZip = str10;
this.createdBy = i4;
this.createdTime = j2;
this.updatedBy = i5;
this.updatedTime = j3;
this.isDeleted = str11;
this.userId = i6;
this.lan = str12;
this.isAvailable = i7;
this.score = i8;
this.exp = i9;
this.capScience = i10;
this.capSpace = i11;
this.capMath = i12;
this.capEngineering = i13;
this.capArt = i14;
this.download = z;
this.downloadTime = j4;
this.useable = z2;
this.courseThumbnail = str13;
this.courseThumbnailLock = str14;
this.status = str15;
this.robotDownloaded = z3;
this.commonResource = str16;
this.commonResUpdatedTime = j5;
this.languageResource = str17;
this.langResUpdatedTime = j6;
}
}