AppVersionUpdateParam.java
1.29 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
package com.brframework.webapppatch.json;
import com.brframework.commoncms.annatotion.column.SelectColumn;
import com.brframework.commoncms.annatotion.column.TextAreaColumn;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Column;
/**
* @author xu
* @date 2019/11/14 22:04
*/
@ApiModel
@Data
public class AppVersionUpdateParam {
@ApiModelProperty(value = "版本号",required = true, example = "30")
private String version;
@ApiModelProperty(value = "版本名称",required = true, example = "30")
private String versionName;
@ApiModelProperty(value = "操作系统", required = true, example = "Android")
@SelectColumn(options = {"ANDROID,ANDROID", "IOS,IOS"})
private String os;
@ApiModelProperty(value = "版本信息",required = true, example = "更新了挺多的了")
@Column(length = 2048)
@TextAreaColumn
private String versionMessage;
@ApiModelProperty(value = "下载地址",required = true, example = "http://wwww.google.com")
@Column(length = 2048)
private String versionUrl;
@ApiModelProperty(value = "更新类型", example = "1", allowableValues = "1,2")
@SelectColumn(options = {"1,正常更新", "2,强制更新"})
private Integer updateType;
}