jimu-decompiled/sources/com/ubt/jimu/course/repository/JimuModule.java
2025-05-13 19:24:51 +02:00

92 lines
2.0 KiB
Java

package com.ubt.jimu.course.repository;
import java.util.HashMap;
import java.util.Map;
/* loaded from: classes.dex */
public class JimuModule implements Cloneable {
public static final Map<Integer, Integer> modulesMap = new HashMap();
private int count;
private long id;
private long missionId;
private int moduleId;
private int type;
static {
modulesMap.put(1, 4);
modulesMap.put(2, 6);
modulesMap.put(3, 1);
modulesMap.put(4, 7);
modulesMap.put(5, 14);
modulesMap.put(6, 9);
}
public JimuModule() {
}
public static int getType(int i) {
return modulesMap.get(Integer.valueOf(i)).intValue();
}
protected Object clone() {
try {
return super.clone();
} catch (CloneNotSupportedException e) {
e.printStackTrace();
return new JimuModule(this.count, this.id, this.missionId, this.moduleId, this.type);
}
}
public int getCount() {
return this.count;
}
public long getId() {
return this.id;
}
public long getMissionId() {
return this.missionId;
}
public int getModuleId() {
return this.moduleId;
}
public void setCount(int i) {
this.count = i;
}
public void setId(long j) {
this.id = j;
}
public void setMissionId(long j) {
this.missionId = j;
}
public void setModuleId(int i) {
this.moduleId = i;
}
public void setType(int i) {
this.type = i;
}
public String toString() {
return "count: " + this.count + " id: " + this.id + " missionId: " + this.missionId + " moduleId: " + this.moduleId + " type: " + this.type;
}
public JimuModule(int i, long j, long j2, int i2, int i3) {
this.count = i;
this.id = j;
this.missionId = j2;
this.moduleId = i2;
this.type = i3;
}
public int getType() {
return this.type;
}
}