com.fengwenyi.api.result.ListTemplate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-result Show documentation
Show all versions of api-result Show documentation
一套RESTful风格API接口响应参数规范化的解决方案
package com.fengwenyi.api.result;
import java.io.Serializable;
import java.util.List;
/**
* @author Erwin Feng
* @since 2022-06-13
*/
public class ListTemplate implements Serializable {
private static final long serialVersionUID = 1673060065136736928L;
/** 列表数据 */
private List content;
/** 用时 */
private Long timeCost;
public List getContent() {
return content;
}
public ListTemplate setContent(List content) {
this.content = content;
return this;
}
public Long getTimeCost() {
return timeCost;
}
public ListTemplate setTimeCost(Long timeCost) {
this.timeCost = timeCost;
return this;
}
}