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.
28 lines
653 B
28 lines
653 B
package app.entities;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.Data;
|
|
|
|
import java.util.HashMap;
|
|
|
|
@Data
|
|
@AllArgsConstructor
|
|
public class VipPrice {
|
|
String human_duration;
|
|
int money_price;
|
|
String item_price;
|
|
String img_url;
|
|
String period;
|
|
boolean steam = true;
|
|
boolean qiwi = true;
|
|
boolean donationalerts = true;
|
|
int da_percent = 10;
|
|
|
|
@JsonIgnore
|
|
public void changeEnabled(HashMap<String, Boolean> services) {
|
|
steam = services.get("steam");
|
|
qiwi = services.get("qiwi");
|
|
donationalerts = services.get("donationalerts");
|
|
}
|
|
}
|
|
|