323 lines
7.7 KiB
Java
323 lines
7.7 KiB
Java
package com.ubt.jimu.course.repository;
|
|
|
|
import com.ubt.jimu.gen.DaoSession;
|
|
import com.ubt.jimu.gen.JimuCourseTaskDao;
|
|
import java.io.Serializable;
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
import org.greenrobot.greendao.DaoException;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class JimuCourseTask implements Cloneable, Serializable {
|
|
public static final int SKIP_TASK = 1;
|
|
public static final long serialVersionUID = 2;
|
|
private String androidVersion;
|
|
private String beginPath;
|
|
private String beginType;
|
|
private long courseId;
|
|
private transient DaoSession daoSession;
|
|
private String description;
|
|
private String folderName;
|
|
private long id;
|
|
private String imagePath;
|
|
private String imagePathLock;
|
|
private String iosVersion;
|
|
private String isAvailable;
|
|
private String isLock;
|
|
private int isSkip;
|
|
private String knowledge;
|
|
private Long localId;
|
|
private String missionType;
|
|
private List<JimuCourseMission> missions;
|
|
private transient JimuCourseTaskDao myDao;
|
|
private String name;
|
|
private long packageId;
|
|
private String resourceZip;
|
|
private String skipDescription;
|
|
private int star;
|
|
private String starMax;
|
|
private long updatedTime;
|
|
private String userId;
|
|
|
|
public JimuCourseTask(Long l, long j, long j2, long j3, String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, String str9, String str10, String str11, String str12, String str13, String str14, String str15, String str16, long j4, int i, int i2, String str17) {
|
|
this.localId = l;
|
|
this.id = j;
|
|
this.courseId = j2;
|
|
this.packageId = j3;
|
|
this.userId = str;
|
|
this.missionType = str2;
|
|
this.folderName = str3;
|
|
this.name = str4;
|
|
this.description = str5;
|
|
this.starMax = str6;
|
|
this.imagePath = str7;
|
|
this.imagePathLock = str8;
|
|
this.resourceZip = str9;
|
|
this.beginType = str10;
|
|
this.beginPath = str11;
|
|
this.isLock = str12;
|
|
this.knowledge = str13;
|
|
this.isAvailable = str14;
|
|
this.iosVersion = str15;
|
|
this.androidVersion = str16;
|
|
this.updatedTime = j4;
|
|
this.star = i;
|
|
this.isSkip = i2;
|
|
this.skipDescription = str17;
|
|
}
|
|
|
|
public void __setDaoSession(DaoSession daoSession) {
|
|
this.daoSession = daoSession;
|
|
this.myDao = daoSession != null ? daoSession.n() : null;
|
|
}
|
|
|
|
public Object clone() throws CloneNotSupportedException {
|
|
JimuCourseTask jimuCourseTask = (JimuCourseTask) super.clone();
|
|
jimuCourseTask.missions = new ArrayList();
|
|
return jimuCourseTask;
|
|
}
|
|
|
|
public void delete() {
|
|
JimuCourseTaskDao jimuCourseTaskDao = this.myDao;
|
|
if (jimuCourseTaskDao == null) {
|
|
throw new DaoException("Entity is detached from DAO context");
|
|
}
|
|
jimuCourseTaskDao.b((JimuCourseTaskDao) this);
|
|
}
|
|
|
|
public String getAndroidVersion() {
|
|
return this.androidVersion;
|
|
}
|
|
|
|
public String getBeginPath() {
|
|
return this.beginPath;
|
|
}
|
|
|
|
public String getBeginType() {
|
|
return this.beginType;
|
|
}
|
|
|
|
public long getCourseId() {
|
|
return this.courseId;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return this.description;
|
|
}
|
|
|
|
public String getFolderName() {
|
|
return this.folderName;
|
|
}
|
|
|
|
public long getId() {
|
|
return this.id;
|
|
}
|
|
|
|
public String getImagePath() {
|
|
return this.imagePath;
|
|
}
|
|
|
|
public String getImagePathLock() {
|
|
return this.imagePathLock;
|
|
}
|
|
|
|
public String getIosVersion() {
|
|
return this.iosVersion;
|
|
}
|
|
|
|
public String getIsAvailable() {
|
|
return this.isAvailable;
|
|
}
|
|
|
|
public String getIsLock() {
|
|
return this.isLock;
|
|
}
|
|
|
|
public int getIsSkip() {
|
|
return this.isSkip;
|
|
}
|
|
|
|
public String getKnowledge() {
|
|
return this.knowledge;
|
|
}
|
|
|
|
public Long getLocalId() {
|
|
return this.localId;
|
|
}
|
|
|
|
public String getMissionType() {
|
|
return this.missionType;
|
|
}
|
|
|
|
public List<JimuCourseMission> getMissions() {
|
|
if (this.missions == null) {
|
|
DaoSession daoSession = this.daoSession;
|
|
if (daoSession == null) {
|
|
throw new DaoException("Entity is detached from DAO context");
|
|
}
|
|
List<JimuCourseMission> a = daoSession.m().a(this.id, this.courseId, this.packageId);
|
|
synchronized (this) {
|
|
if (this.missions == null) {
|
|
this.missions = a;
|
|
}
|
|
}
|
|
}
|
|
return this.missions;
|
|
}
|
|
|
|
public String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public long getPackageId() {
|
|
return this.packageId;
|
|
}
|
|
|
|
public String getResourceZip() {
|
|
return this.resourceZip;
|
|
}
|
|
|
|
public String getSkipDescription() {
|
|
return this.skipDescription;
|
|
}
|
|
|
|
public int getStar() {
|
|
return this.star;
|
|
}
|
|
|
|
public String getStarMax() {
|
|
return this.starMax;
|
|
}
|
|
|
|
public long getUpdatedTime() {
|
|
return this.updatedTime;
|
|
}
|
|
|
|
public String getUserId() {
|
|
return this.userId;
|
|
}
|
|
|
|
public void refresh() {
|
|
JimuCourseTaskDao jimuCourseTaskDao = this.myDao;
|
|
if (jimuCourseTaskDao == null) {
|
|
throw new DaoException("Entity is detached from DAO context");
|
|
}
|
|
jimuCourseTaskDao.i(this);
|
|
}
|
|
|
|
public synchronized void resetMissions() {
|
|
this.missions = null;
|
|
}
|
|
|
|
public void setAndroidVersion(String str) {
|
|
this.androidVersion = str;
|
|
}
|
|
|
|
public void setBeginPath(String str) {
|
|
this.beginPath = str;
|
|
}
|
|
|
|
public void setBeginType(String str) {
|
|
this.beginType = str;
|
|
}
|
|
|
|
public void setCourseId(long j) {
|
|
this.courseId = j;
|
|
}
|
|
|
|
public void setDescription(String str) {
|
|
this.description = str;
|
|
}
|
|
|
|
public void setFolderName(String str) {
|
|
this.folderName = str;
|
|
}
|
|
|
|
public void setId(long j) {
|
|
this.id = j;
|
|
}
|
|
|
|
public void setImagePath(String str) {
|
|
this.imagePath = str;
|
|
}
|
|
|
|
public void setImagePathLock(String str) {
|
|
this.imagePathLock = str;
|
|
}
|
|
|
|
public void setIosVersion(String str) {
|
|
this.iosVersion = str;
|
|
}
|
|
|
|
public void setIsAvailable(String str) {
|
|
this.isAvailable = str;
|
|
}
|
|
|
|
public void setIsLock(String str) {
|
|
this.isLock = str;
|
|
}
|
|
|
|
public void setIsSkip(int i) {
|
|
this.isSkip = i;
|
|
}
|
|
|
|
public void setKnowledge(String str) {
|
|
this.knowledge = str;
|
|
}
|
|
|
|
public void setLocalId(Long l) {
|
|
this.localId = l;
|
|
}
|
|
|
|
public void setMissionType(String str) {
|
|
this.missionType = str;
|
|
}
|
|
|
|
public void setMissions(List<JimuCourseMission> list) {
|
|
this.missions = list;
|
|
}
|
|
|
|
public void setName(String str) {
|
|
this.name = str;
|
|
}
|
|
|
|
public void setPackageId(long j) {
|
|
this.packageId = j;
|
|
}
|
|
|
|
public void setResourceZip(String str) {
|
|
this.resourceZip = str;
|
|
}
|
|
|
|
public void setSkipDescription(String str) {
|
|
this.skipDescription = str;
|
|
}
|
|
|
|
public void setStar(int i) {
|
|
this.star = i;
|
|
}
|
|
|
|
public void setStarMax(String str) {
|
|
this.starMax = str;
|
|
}
|
|
|
|
public void setUpdatedTime(long j) {
|
|
this.updatedTime = j;
|
|
}
|
|
|
|
public void setUserId(String str) {
|
|
this.userId = str;
|
|
}
|
|
|
|
public void update() {
|
|
JimuCourseTaskDao jimuCourseTaskDao = this.myDao;
|
|
if (jimuCourseTaskDao == null) {
|
|
throw new DaoException("Entity is detached from DAO context");
|
|
}
|
|
jimuCourseTaskDao.j(this);
|
|
}
|
|
|
|
public JimuCourseTask() {
|
|
}
|
|
}
|