acountform.java

来自「网站计数器 在通常情况下」· Java 代码 · 共 99 行

JAVA
99
字号
package com.actionForm;

import org.apache.struts.action.*;

public class AcountForm extends ActionForm {
    private int age;
    private int number;
    private int id;
    private String account;
    private String born;
    private String name;
    private String password;
    private String profession;
    private String sex;
    public AcountForm() {
        this.age = 0;
        this.number = 0;
        this.id = 0;
        this.account = "";
        this.born = "";
        this.name = "";
        this.password = "";
        this.profession = "";
        this.sex = "";
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

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

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

    public void setPassword(String password) {
        this.password = password;
    }

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

    public void setBorn(String born) {
        this.born = born;
    }

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

    public void setNumber(int number) {
        this.number = number;
    }

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

    public String getBorn() {
        return born;
    }

    public String getName() {
        return name;
    }

    public String getPassword() {
        return password;
    }

    public String getProfession() {
        return profession;
    }

    public String getSex() {
        return sex;
    }

    public int getAge() {
        return age;
    }

    public int getNumber() {
        return number;
    }

    public int getId() {
        return id;
    }
}

⌨️ 快捷键说明

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