package com.happy.common.controller;

import com.opensymphony.xwork2.ActionSupport;
import org.apache.struts2.interceptor.ServletRequestAware;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class BaseController extends ActionSupport implements ServletRequestAware {

    public HttpServletRequest request;
    public HttpServletResponse response;

    public String id;
    public Integer page = 1; // 当前页
    public Integer rows = 10;// 每页显示的行数rows
    public Integer status;//状态

    public void setServletRequest(HttpServletRequest request) {
        this.request = request;
    }

}
