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

📄 ttestclass.java.svn-base

📁 菲律宾的一个大学的图书管理系统 spring+hibernate+velocity
💻 SVN-BASE
字号:
/*
 * 创建日期 2005-4-18
 */
package biz.bluesky.pts.model;

import java.io.Serializable;

import org.apache.commons.lang.builder.EqualsBuilder;

public class TTestClass implements Serializable {

    private int testClassId;
    private int testId;
    private int classId;
    private String year;
    
    public TTestClass () {
        super();
    }
    public TTestClass(int testId, int classId, String year) {
        super();
        this.testId = testId;
        this.classId = classId;
        this.year = year;
    }
    
    public boolean equals(Object object) {
        if(!(object instanceof TTestClass)) {
            return false;
        }
        
        TTestClass other = (TTestClass)object;
        
        return new EqualsBuilder().append(this.getTestId(),other.getTestId()).append(
                this.getClassId(),other.getClassId()).append(
                this.getYear(),other.getYear()).isEquals();
    }
    
    
    public int getClassId() {
        return classId;
    }
    public void setClassId(int classId) {
        this.classId = classId;
    }
    
    public int getTestClassId() {
        return testClassId;
    }
    public void setTestClassId(int testClassId) {
        this.testClassId = testClassId;
    }
    
    public int getTestId() {
        return testId;
    }
    public void setTestId(int testId) {
        this.testId = testId;
    }
    
    public String getYear() {
        return year;
    }
    public void setYear(String year) {
        this.year = year;
    }
}

⌨️ 快捷键说明

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