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

📄 peopleform.java

📁 无论是web程序还是应用程序
💻 JAVA
字号:
package com.domain;

import org.apache.struts.action.ActionForm;

public class PeopleForm extends ActionForm {
    private Integer age;
    private Integer id;
    private String name;
    private String profession;
    private String sex;
    public PeopleForm() {
        this.age = new Integer( -1);
        this.id = new Integer( -1);
        this.name = "";
        this.profession = "";
        this.sex = "";
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getProfession() {
        return profession;
    }

    public String getSex() {
        return sex;
    }
}

⌨️ 快捷键说明

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