package com.ubt.jimu.base.entities; import android.content.Context; import com.ubt.jimu.blockly.Utils; import java.io.File; import java.io.Serializable; /* loaded from: classes.dex */ public class Story implements Serializable { private static final long serialVersionUID = 1; private long createTime; private String displayDesc; private String displayName; private int displayOrder; private long id; private int isLocked; private String lan; private String resourceZip; private String storyImage; private String storyIntroVideo; private String storyName; private long updatedTime; public Story(long j, String str, int i, String str2, String str3, String str4, long j2, long j3, int i2, String str5, String str6, String str7) { this.id = j; this.storyName = str; this.displayOrder = i; this.storyImage = str2; this.displayName = str3; this.displayDesc = str4; this.createTime = j2; this.updatedTime = j3; this.isLocked = i2; this.storyIntroVideo = str5; this.lan = str6; this.resourceZip = str7; } public static String getSdcardSavePath(Context context, String str) { int indexOf = str.indexOf("?"); if (indexOf < 0) { indexOf = str.length(); } String substring = str.substring(str.lastIndexOf("/") + 1, indexOf); return Utils.getStarCourseDirPath() + File.separator + substring; } public long getCreateTime() { return this.createTime; } public String getDisplayDesc() { return this.displayDesc; } public String getDisplayName() { return this.displayName; } public int getDisplayOrder() { return this.displayOrder; } public long getId() { return this.id; } public int getIsLocked() { return this.isLocked; } public String getLan() { return this.lan; } public String getResourceZip() { return this.resourceZip; } public String getStoryImage() { return this.storyImage; } public String getStoryIntroVideo() { return this.storyIntroVideo; } public String getStoryName() { return this.storyName; } public long getUpdateTime() { return this.updatedTime; } public long getUpdatedTime() { return this.updatedTime; } public void setCreateTime(long j) { this.createTime = j; } public void setDisplayDesc(String str) { this.displayDesc = str; } public void setDisplayName(String str) { this.displayName = str; } public void setDisplayOrder(int i) { this.displayOrder = i; } public void setId(long j) { this.id = j; } public void setIsLocked(int i) { this.isLocked = i; } public void setLan(String str) { this.lan = str; } public void setResourceZip(String str) { this.resourceZip = str; } public void setStoryImage(String str) { this.storyImage = str; } public void setStoryIntroVideo(String str) { this.storyIntroVideo = str; } public void setStoryName(String str) { this.storyName = str; } public void setUpdateTime(long j) { this.updatedTime = j; } public void setUpdatedTime(long j) { this.updatedTime = j; } public Story() { } }