📄 pollline.java
字号:
package tarena.pojo;
import java.io.Serializable;
import java.util.List;
public class PollLine implements Serializable {
private int hashValue = 0;
private java.lang.Integer id;
private Poll poll;
private java.lang.Integer c1;
private java.lang.Integer c2;
private java.lang.Integer c3;
private java.lang.Integer c4;
private java.lang.Integer c5;
private java.lang.Integer c6;
private java.lang.Integer c7;
private java.lang.Integer c8;
private java.lang.Integer c9;
private java.lang.Integer c10;
private java.lang.Integer c11;
private java.lang.Integer c12;
private java.lang.Integer c13;
private java.lang.Integer c14;
private List q1;
private List q2;
private double avgScore;
private String isValid;
public double getAvgScore() {
return avgScore;
}
public void setAvgScore(double avgScore) {
this.avgScore = avgScore;
}
public String getIsValid() {
return isValid;
}
public void setIsValid(String isValid) {
this.isValid = isValid;
}
public PollLine() {
}
public PollLine(java.lang.Integer id) {
this.setId(id);
}
public java.lang.Integer getId() {
return id;
}
public void setId(java.lang.Integer id) {
this.hashValue = 0;
this.id = id;
}
public Poll getPoll() {
return this.poll;
}
public void setPoll(Poll poll) {
this.poll = poll;
}
public java.lang.Integer getC1() {
return this.c1;
}
public void setC1(java.lang.Integer c1) {
this.c1 = c1;
}
public java.lang.Integer getC2() {
return this.c2;
}
public void setC2(java.lang.Integer c2) {
this.c2 = c2;
}
/**
* Return the value of the c3 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC3() {
return this.c3;
}
/**
* Set the value of the c3 column.
*
* @param c3
*/
public void setC3(java.lang.Integer c3) {
this.c3 = c3;
}
/**
* Return the value of the c4 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC4() {
return this.c4;
}
/**
* Set the value of the c4 column.
*
* @param c4
*/
public void setC4(java.lang.Integer c4) {
this.c4 = c4;
}
/**
* Return the value of the c5 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC5() {
return this.c5;
}
/**
* Set the value of the c5 column.
*
* @param c5
*/
public void setC5(java.lang.Integer c5) {
this.c5 = c5;
}
/**
* Return the value of the c6 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC6() {
return this.c6;
}
/**
* Set the value of the c6 column.
*
* @param c6
*/
public void setC6(java.lang.Integer c6) {
this.c6 = c6;
}
/**
* Return the value of the c7 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC7() {
return this.c7;
}
/**
* Set the value of the c7 column.
*
* @param c7
*/
public void setC7(java.lang.Integer c7) {
this.c7 = c7;
}
/**
* Return the value of the c8 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC8() {
return this.c8;
}
/**
* Set the value of the c8 column.
*
* @param c8
*/
public void setC8(java.lang.Integer c8) {
this.c8 = c8;
}
/**
* Return the value of the c9 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC9() {
return this.c9;
}
/**
* Set the value of the c9 column.
*
* @param c9
*/
public void setC9(java.lang.Integer c9) {
this.c9 = c9;
}
/**
* Return the value of the c10 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC10() {
return this.c10;
}
/**
* Set the value of the c10 column.
*
* @param c10
*/
public void setC10(java.lang.Integer c10) {
this.c10 = c10;
}
/**
* Return the value of the c11 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC11() {
return this.c11;
}
/**
* Set the value of the c11 column.
*
* @param c11
*/
public void setC11(java.lang.Integer c11) {
this.c11 = c11;
}
/**
* Return the value of the c12 column.
*
* @return java.lang.Integer
*/
public java.lang.Integer getC12() {
return this.c12;
}
/**
* Set the value of the c12 column.
*
* @param c12
*/
public void setC12(java.lang.Integer c12) {
this.c12 = c12;
}
public List getQ1() {
return q1;
}
public void setQ1(List q1) {
this.q1 = q1;
}
public List getQ2() {
return q2;
}
public void setQ2(List q2) {
this.q2 = q2;
}
public java.lang.Integer getC13() {
return this.c13;
}
public void setC13(java.lang.Integer c13) {
this.c13 = c13;
}
public java.lang.Integer getC14() {
return this.c14;
}
public void setC14(java.lang.Integer c14) {
this.c14 = c14;
}
public boolean equals(Object rhs) {
if (rhs == null)
return false;
if (!(rhs instanceof PollLine))
return false;
PollLine that = (PollLine) rhs;
if (this.getId() == null || that.getId() == null)
return false;
return (this.getId().equals(that.getId()));
}
public int hashCode() {
if (this.hashValue == 0) {
int result = 17;
int idValue = this.getId() == null ? 0 : this.getId().hashCode();
result = result * 37 + idValue;
this.hashValue = result;
}
return this.hashValue;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -