package com.skr.mdm.bean.vo.app;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.skr.mdm.bean.util.DateConvertUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author nfq
 * @date 2022-12-05 11:27
 */
@Data
@ApiModel(value = "客户端应用商店VO")
public class ClientAppStoreVO {

    private Integer id;

    @ApiModelProperty(value = "应用名称")
    private String appName;

    @ApiModelProperty(value = "包名")
    private String packageName;

    @ApiModelProperty(value = "应用签名")
    private String appSign;

    @ApiModelProperty(value = "图标地址")
    private String iconUrl;

    @ApiModelProperty(value = "应用类型（1：普通应用 2：轻应用）")
    private Integer appCategory;

    @ApiModelProperty(value = "应用分类")
    private String appTypeName;

    @ApiModelProperty(value = "更新时间")
    @JsonSerialize(using = DateConvertUtil.class)
    private Date operateTime;

    @ApiModelProperty(value = "应用版本")
    private List<ClientAppStoreVersionVO> clientAppStoreVersionVOList;

}
