admin
2022-05-12 fa705507ba574c857b1667553737d23b1b7ff495
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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;
    }
}