UPushConfig.java
1.58 KB
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
package com.brframework.commonapppush.domain;
import com.brframework.commoncms.annatotion.column.SelectColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* 友盟推送配置
* @author xu
* @date 2019/10/11 15:36
*/
@Data
@ApiModel
public class UPushConfig {
/**
* 可选,正式/测试模式。默认为true
* 测试模式只对“广播”、“组播”类消息生效,其他类型的消息任务(如“文件播”)不会走测试模式
* 测试模式只会将消息发给测试设备。测试设备需要到web上添加。
* Android: 测试设备属于正式设备的一个子集。
* */
@ApiModelProperty(value = "模式", required = true, example = "")
@SelectColumn(options = {"true,正式模式", "false,测试模式"})
private String productionMode;
/** android appKey */
@ApiModelProperty(value = "androidAppKey", required = true, example = "")
private String androidAppKey;
/** android appMasterSecret */
@ApiModelProperty(value = "androidAppMasterSecret", required = true, example = "")
private String androidAppMasterSecret;
/** ios appKey */
@ApiModelProperty(value = "iosAppKey", required = true, example = "")
private String iosAppKey;
/** ios appMasterSecret */
@ApiModelProperty(value = "iosAppMasterSecret", required = true, example = "")
private String iosAppMasterSecret;
}