⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 magselform.java

📁 目前系统具有功能如下: 用户注册 修改信息 自定义图像 用户升级 锁定用户 用户发帖 论坛好友 论坛版主 用户列表 建立用户组 用户等级定义 在线用户查看 论坛财富分配 用
💻 JAVA
字号:
package com.yhbbs.article.form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
 * <p>Title:固顶移动删除帖子的Form</p>
 * <br><b>WebSite: www.yyhweb.com</b>
 * <br><b>CopyRight: yyhweb[由由华网]</b>
 * @author stephen
 * @version YHBBS-2.0
 */
public class MagSelForm extends ActionForm{
	
	private static final long serialVersionUID = 1L;
	private String action = "";
	private int topfc = 0;
	private int movefc = 0;
	private String deleteres = "";
	private int artId = 0;
	private int forumId = 0;
	private int classId = 0;
	private int userId = 0;
	
	/**
	 * @return 操作标示
	 */
	public String getAction() {
		return action;
	}
	/**
	 * @param action 操作标示
	 */
	public void setAction(String action) {
		this.action = action;
	}
	/**
	 * @return 删贴原因
	 */
	public String getDeleteres() {
		return deleteres;
	}
	/**
	 * @param deleteres 删贴原因
	 */
	public void setDeleteres(String deleteres) {
		this.deleteres = deleteres.trim();
	}
	/**
	 * @return 移动的目标论坛
	 */
	public int getMovefc() {
		return movefc;
	}
	/**
	 * @param movefc 移动的目标论坛
	 */
	public void setMovefc(int movefc) {
		this.movefc = movefc;
	}
	/**
	 * @return 置顶方式
	 */
	public int getTopfc() {
		return topfc;
	}
	/**
	 * @param topfc 置顶方式
	 */
	public void setTopfc(int topfc) {
		this.topfc = topfc;
	}
	/**
	 * @return 帖子Id
	 */
	public int getArtId() {
		return artId;
	}
	/**
	 * @param artId 帖子Id
	 */
	public void setArtId(int artId) {
		this.artId = artId;
	}
	/**
	 * @return 区论坛Id
	 */
	public int getClassId() {
		return classId;
	}
	/**
	 * @param classId 区论坛Id
	 */
	public void setClassId(int classId) {
		this.classId = classId;
	}
	/**
	 * @return 论坛Id
	 */
	public int getForumId() {
		return forumId;
	}
	/**
	 * @param forumId 论坛Id
	 */
	public void setForumId(int forumId) {
		this.forumId = forumId;
	}
	/**
	 * @return 发表帖子用户Id
	 */
	public int getUserId() {
		return userId;
	}
	/** 
	 * @param userId 发表帖子用户Id
	 */
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public ActionErrors validate(ActionMapping actionMapping, HttpServletRequest request){	
        return null;
        		
    }
	public void reset(ActionMapping actionMapping, HttpServletRequest request){
		action = "";
		topfc = 0;
		movefc = 0;
		deleteres = "";
		artId = 0;
	}
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -