📄 tdiscipline.java.svn-base
字号:
/*
* 创建日期 2005-5-18
*/
package biz.bluesky.pts.model;
import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
public class TDiscipline {
private int disciplineId;
private int teacherId;
private int studentId;
private String type;
private String offence;
private String date;
private String location;
private String times;
private String remarks;
private String action;
/**
*
*/
public TDiscipline() {
super();
}
public boolean equals(Object object) {
if(!(object instanceof TDiscipline)) {
return false;
}
TDiscipline otherDiscipline = (TDiscipline)object;
return new EqualsBuilder().append(
this.getTeacherId(),otherDiscipline.getTeacherId()).append(
this.getStudentId(),otherDiscipline.getStudentId()).append(
this.getType(),otherDiscipline.getType()).isEquals();
}
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
public String getDate() {
return date;
}
public void setDate(String date) {
this.date = date;
}
public int getDisciplineId() {
return disciplineId;
}
public void setDisciplineId(int disciplineId) {
this.disciplineId = disciplineId;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
public String getOffence() {
return offence;
}
public void setOffence(String offence) {
this.offence = offence;
}
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public int getStudentId() {
return studentId;
}
public void setStudentId(int studentId) {
this.studentId = studentId;
}
public int getTeacherId() {
return teacherId;
}
public void setTeacherId(int teacherId) {
this.teacherId = teacherId;
}
public String getTimes() {
return times;
}
public void setTimes(String times) {
this.times = times;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -