test.java

来自「利用数据库的视图功能把复杂的数据库查询语句封装到一个虚拟的表中,本程序是在Str」· Java 代码 · 共 74 行

JAVA
74
字号
package  emptyprj;

import org.apache.struts.action.ActionForm;

public final class Test extends ActionForm  
{
          private float  奖金;

          private String  时间;

          private int  年龄;

          private String  性别;

          private String  姓名;

    //myfiledata;

        public String get姓名()
        {
            return (this.姓名);
        }

        public void set姓名(String 姓名)
        {
            this.姓名=姓名;
        }


        public String get性别()
        {
            return (this.性别);
        }

        public void set性别(String 性别)
        {
            this.性别=性别;
        }


        public int get年龄()
        {
            return (this.年龄);
        }

        public void set年龄(int 年龄)
        {
            this.年龄=年龄;
        }


        public String get时间()
        {
            return (this.时间);
        }

        public void set时间(String 时间)
        {
            this.时间=时间;
        }


        public float get奖金()
        {
            return (this.奖金);
        }

        public void set奖金(float 奖金)
        {
            this.奖金=奖金;
        }

}

⌨️ 快捷键说明

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