package com.junmp.jyzb.api.bean.query.hardWareReq;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.junmp.v2.common.bean.request.ValidationApi;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class LastUpAndUpgradeReq {

    //版本编码（获取软件版本更新接口使用）
    @NotEmpty(message = "appCode不能为空",groups = {ValidationApi.edit.class})
    private String appCode;


    @NotEmpty(message = "serverNum不能为空",groups = {ValidationApi.edit.class,ValidationApi.detail.class})
    private String serverNum;

    @NotEmpty(message = "version不能为空",groups = {ValidationApi.detail.class})
    private String version;

}
