|
@@ -14,6 +14,7 @@ public class TaskAcceptedEty implements Serializable{
|
|
|
private int release_task_id;// 0,
|
|
private int release_task_id;// 0,
|
|
|
private String remarks;// "string",
|
|
private String remarks;// "string",
|
|
|
private String screenshots;// "string",
|
|
private String screenshots;// "string",
|
|
|
|
|
+ private int cash_task;// 1.现金任务 2福利任务
|
|
|
private int status =1;// 0,--------1,已接受任务 2,正在进行中,3完成任务,4放弃任务,5任务失败,6审核失败,7提交审核,8任务已下线,9至少完成了一个任务了
|
|
private int status =1;// 0,--------1,已接受任务 2,正在进行中,3完成任务,4放弃任务,5任务失败,6审核失败,7提交审核,8任务已下线,9至少完成了一个任务了
|
|
|
private String uid;// 0,
|
|
private String uid;// 0,
|
|
|
private String update_time;// 0
|
|
private String update_time;// 0
|
|
@@ -128,6 +129,14 @@ public class TaskAcceptedEty implements Serializable{
|
|
|
this.lower_num = lower_num;
|
|
this.lower_num = lower_num;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ public int getCash_task() {
|
|
|
|
|
+ return cash_task;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ public void setCash_task(int cash_task) {
|
|
|
|
|
+ this.cash_task = cash_task;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@Override
|
|
@Override
|
|
|
public boolean equals(Object obj) {
|
|
public boolean equals(Object obj) {
|
|
|
return obj instanceof TaskAcceptedEty &&
|
|
return obj instanceof TaskAcceptedEty &&
|
|
@@ -135,8 +144,20 @@ public class TaskAcceptedEty implements Serializable{
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取任务标签:现金或者福利
|
|
|
|
|
+ * 1.现金任务 2福利任务
|
|
|
|
|
+ * @return
|
|
|
|
|
+ */
|
|
|
|
|
+ public String getCashText(){
|
|
|
|
|
+ switch (cash_task){
|
|
|
|
|
+ case 1:
|
|
|
|
|
+ return "现金";
|
|
|
|
|
+ case 2:
|
|
|
|
|
+ default:
|
|
|
|
|
+ return "福利";
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
public boolean isIs_running() {
|
|
public boolean isIs_running() {
|
|
|
return status == 1 || status == 2;
|
|
return status == 1 || status == 2;
|
|
|
}
|
|
}
|