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

📄 petactionform.java

📁 网上电子宠物系统
💻 JAVA
字号:
package com.zc.struts.form;

import java.io.UnsupportedEncodingException;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

public class PetActionForm extends ActionForm {


	public void reset(ActionMapping mapping, HttpServletRequest request) {
		try {
			request.setCharacterEncoding("gb2312");
		} catch (UnsupportedEncodingException e) {
			// TODO 自动生成 catch 块
			e.printStackTrace();
		}
	}
	
	private int pet_id;
	private String type;
	private String pet_name;
	private String pet_sex;
	private int pet_strength;
	private int pet_cute;
	private int pet_love;
	private String pet_intro;
	private String pet_owner_name;
	private String pet_owner_email;
	private String pet_password;
	private String pet_pic;
	private String pet_type;
	public int getPet_cute() {
		return pet_cute;
	}
	public void setPet_cute(int pet_cute) {
		this.pet_cute = pet_cute;
	}

	public String getPet_intro() {
		return pet_intro;
	}
	public void setPet_intro(String pet_intro) {
		this.pet_intro = pet_intro;
	}
	public int getPet_love() {
		return pet_love;
	}
	public void setPet_love(int pet_love) {
		this.pet_love = pet_love;
	}
	public String getPet_name() {
		return pet_name;
	}
	public void setPet_name(String pet_name) {
		this.pet_name = pet_name;
	}
	public String getPet_owner_email() {
		return pet_owner_email;
	}
	public void setPet_owner_email(String pet_owner_email) {
		this.pet_owner_email = pet_owner_email;
	}
	public String getPet_owner_name() {
		return pet_owner_name;
	}
	public void setPet_owner_name(String pet_owner_name) {
		this.pet_owner_name = pet_owner_name;
	}
	public String getPet_password() {
		return pet_password;
	}
	public void setPet_password(String pet_password) {
		this.pet_password = pet_password;
	}
	public String getPet_pic() {
		return pet_pic;
	}
	public void setPet_pic(String pet_pic) {
		this.pet_pic = pet_pic;
	}
	public String getPet_sex() {
		return pet_sex;
	}
	public void setPet_sex(String pet_sex) {
		this.pet_sex = pet_sex;
	}
	public int getPet_strength() {
		return pet_strength;
	}
	public void setPet_strength(int pet_strength) {
		this.pet_strength = pet_strength;
	}
	public String getPet_type() {
		return pet_type;
	}
	public void setPet_type(String pet_type) {
		this.pet_type = pet_type;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getPet_id() {
		return pet_id;
	}
	public void setPet_id(int pet_id) {
		this.pet_id = pet_id;
	}
	
	
}

⌨️ 快捷键说明

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