package UIJ.UIJ03; import java.io.Serializable; import java.math.BigDecimal; /** * 三期成分实绩 * @author zsx * */ public class YouteCHEM implements Serializable{ /** * */ private static final long serialVersionUID = -294229439782020479L; private String charge_no; private String chem_cd; private BigDecimal chem_val; private String reg_dtime; private String remark; private String create_opr; public YouteCHEM() { super(); } public YouteCHEM(String chargeNo, String chemCd, BigDecimal chemVal, String regDtime, String remark, String createOpr) { super(); charge_no = chargeNo; chem_cd = chemCd; chem_val = chemVal; reg_dtime = regDtime; this.remark = remark; create_opr = createOpr; } public String getCharge_no() { return charge_no; } public void setCharge_no(String chargeNo) { charge_no = chargeNo; } public String getChem_cd() { return chem_cd; } public void setChem_cd(String chemCd) { chem_cd = chemCd; } public BigDecimal getChem_val() { return chem_val; } public void setChem_val(BigDecimal chemVal) { chem_val = chemVal; } public String getReg_dtime() { return reg_dtime; } public void setReg_dtime(String regDtime) { reg_dtime = regDtime; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } public String getCreate_opr() { return create_opr; } public void setCreate_opr(String createOpr) { create_opr = createOpr; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((charge_no == null) ? 0 : charge_no.hashCode()); result = prime * result + ((chem_cd == null) ? 0 : chem_cd.hashCode()); result = prime * result + ((chem_val == null) ? 0 : chem_val.hashCode()); result = prime * result + ((create_opr == null) ? 0 : create_opr.hashCode()); result = prime * result + ((reg_dtime == null) ? 0 : reg_dtime.hashCode()); result = prime * result + ((remark == null) ? 0 : remark.hashCode()); return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; YouteCHEM other = (YouteCHEM) obj; if (charge_no == null) { if (other.charge_no != null) return false; } else if (!charge_no.equals(other.charge_no)) return false; if (chem_cd == null) { if (other.chem_cd != null) return false; } else if (!chem_cd.equals(other.chem_cd)) return false; if (chem_val == null) { if (other.chem_val != null) return false; } else if (!chem_val.equals(other.chem_val)) return false; if (create_opr == null) { if (other.create_opr != null) return false; } else if (!create_opr.equals(other.create_opr)) return false; if (reg_dtime == null) { if (other.reg_dtime != null) return false; } else if (!reg_dtime.equals(other.reg_dtime)) return false; if (remark == null) { if (other.remark != null) return false; } else if (!remark.equals(other.remark)) return false; return true; } @Override public String toString() { return "YouteCHEM [charge_no=" + charge_no + ", chem_cd=" + chem_cd + ", chem_val=" + chem_val + ", create_opr=" + create_opr + ", reg_dtime=" + reg_dtime + ", remark=" + remark + "]"; } }