All Downloads are FREE. Search and download functionalities are using the official Maven repository.

shz.spring.model.RequestVo Maven / Gradle / Ivy

There is a newer version: 2023.2.5
Show newest version
package shz.spring.model;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

public class RequestVo {
    @Valid
    @NotNull(message = "请求数据不能为空")
    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "RequestVo{" +
                "data=" + data +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy