package com.ks.app.dto.config;
|
|
import java.util.List;
|
|
/**
|
* @author hxh
|
* @title: AdSourceConfig
|
* @description: 广告来源配置
|
* @date 2022/5/5 15:46
|
*/
|
public class AdSourceConfig {
|
private int version;
|
private List<TypeProbability> types;
|
|
static class TypeProbability {
|
String type;
|
int weight;
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public int getWeight() {
|
return weight;
|
}
|
|
public void setWeight(int weight) {
|
this.weight = weight;
|
}
|
}
|
|
public int getVersion() {
|
return version;
|
}
|
|
public void setVersion(int version) {
|
this.version = version;
|
}
|
|
public List<TypeProbability> getTypes() {
|
return types;
|
}
|
|
public void setTypes(List<TypeProbability> types) {
|
this.types = types;
|
}
|
}
|