LotSamplingInfo.java
package com.mycim.valueobject.wip;
import java.io.Serializable;
import com.mycim.framework.utils.lang.StringUtils;
public class LotSamplingInfo implements Serializable {
private Long lotSamplingRrn;
private String stepType;
private String eqpGroupId;
private String productId;
private String lotIdList;
private String recipe;
private String stageId;
private String flowSeq;
private String stepDesc;
private String comments;
private String operator;
private String processId;
private String lotId;
private String processVer;
private String transTime;
private int start;
private int limit;
private String startTime;
private String endTime;
private String roleArea;
public Long getLotSamplingRrn() {
return lotSamplingRrn;
}
public void setLotSamplingRrn(Long lotSamplingRrn) {
this.lotSamplingRrn = lotSamplingRrn;
}
public String getStepType() {
return stepType;
}
public void setStepType(String stepType) {
this.stepType = stepType;
}
public String getEqpGroupId() {
return eqpGroupId;
}
public void setEqpGroupId(String eqpGroupId) {
this.eqpGroupId = eqpGroupId;
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getLotIdList() {
return lotIdList;
}
public void setLotIdList(String lotIdList) {
this.lotIdList = lotIdList;
}
public String getRecipe() {
return recipe;
}
public void setRecipe(String recipe) {
this.recipe = recipe;
}
public String getStageId() {
return stageId;
}
public void setStageId(String stageId) {
this.stageId = stageId;
}
public String getFlowSeq() {
return flowSeq;
}
public void setFlowSeq(String flowSeq) {
this.flowSeq = flowSeq;
}
public String getStepDesc() {
return stepDesc;
}
public void setStepDesc(String stepDesc) {
this.stepDesc = stepDesc;
}
public String getComments() {
return comments;
}
public void setComments(String comments) {
this.comments = comments;
}
public String getOperator() {
return operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
public String getProcessId() {
return processId;
}
public void setProcessId(String processId) {
this.processId = processId;
}
public String getLotId() {
return lotId;
}
public void setLotId(String lotId) {
this.lotId = lotId;
}
public String getProcessVer() {
return processVer;
}
public void setProcessVer(String processVer) {
this.processVer = processVer;
}
public String getTransTime() {
return transTime;
}
public void setTransTime(String transTime) {
this.transTime = transTime;
}
public String getStartTime() {
return startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
}
public String getEndTime() {
return endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
}
public int getStart() {
return start;
}
public void setStart(int start) {
this.start = start;
}
public int getLimit() {
return limit;
}
public void setLimit(int limit) {
this.limit = limit;
}
public String getRoleArea() {
return roleArea;
}
public void setRoleArea(String roleArea) {
this.roleArea = roleArea;
}
@Override
public String toString() {
return "SmartSamplingInfo [stepType=" + stepType + ", eqpGroupId=" + eqpGroupId + ", productId=" + productId
+ ", lotIdList=" + lotIdList + ", recipe=" + recipe + ", stageId=" + stageId + ", flowSeq=" + flowSeq
+ "]";
}
@Override
public boolean equals(Object obj) {
if(obj instanceof LotSamplingInfo){
LotSamplingInfo o = (LotSamplingInfo) obj;
if(StringUtils.equals(this.stepType, o.getStepType())
&& StringUtils.equals(this.eqpGroupId, o.getEqpGroupId())
&& StringUtils.equals(this.productId, o.getProductId())
&& StringUtils.equals(this.lotIdList, o.getLotIdList())
&& StringUtils.equals(this.recipe, o.getRecipe())
&& StringUtils.equals(this.stageId, o.getStageId())
&& StringUtils.equals(this.flowSeq, o.getFlowSeq())){
return true;
}
}
return false;
}
}