You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1014 B
57 lines
1014 B
package com.example.dxsdpdb;
|
|
|
|
public class Mission {
|
|
private int id;
|
|
private double money;
|
|
private String type;
|
|
private String content;
|
|
private int index;
|
|
|
|
public Mission(int id, double money, String type, int index) {
|
|
this.id = id;
|
|
this.money = money;
|
|
this.type = type;
|
|
this.index = index;
|
|
}
|
|
|
|
public String getContent() {
|
|
return content;
|
|
}
|
|
|
|
public void setContent(String content) {
|
|
this.content = content;
|
|
}
|
|
|
|
public int getIndex() {
|
|
return index;
|
|
}
|
|
|
|
public void setIndex(int index) {
|
|
this.index = index;
|
|
}
|
|
|
|
public int getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(int id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public double getMoney() {
|
|
return money;
|
|
}
|
|
|
|
public void setMoney(double money) {
|
|
this.money = money;
|
|
}
|
|
|
|
public String getType() {
|
|
return type;
|
|
}
|
|
|
|
public void setType(String type) {
|
|
this.type = type;
|
|
}
|
|
}
|