下面展示一些 内联代码片
。
package com.cjc.dto;
import com.cjc.model.Students;
public class Dto extends Students {
private int page;
private int limit;
public int getLimit() {
return limit;
}
public void setLimit(int limit) {
this.limit = limit;
}
public int getPage() {
return (page-1)*limit;
}
public void setPage(int page) {
this.page = page;
}
@Override
public String toString() {
return "Dto [page=" + page + ", limit=" + limit + "]";
}
}