package cn.pluss.platform.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@ApiModel("app版本信息")
@Accessors(chain = true)
public class AppVersionInfo {

    @TableId
    @ApiModelProperty("id")
    private int id;

    @ApiModelProperty("平台-0: android; 1: iOS")
    private int platformCode;

    @ApiModelProperty("android或iOS")
    private String platformName;

    @ApiModelProperty("版本code")
    private int versionCode;

    @ApiModelProperty("版本名称，也称版本号")
    private String versionName;

    @ApiModelProperty("下载链接，iOS可以无视")
    private String url;

    @ApiModelProperty("更新信息")
    private String updateInfo;

    @ApiModelProperty("是否强制更新")
    private int forceUpdate;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("更新时间")
    private Date updateTime;
}
