|  |  | 
 |  |  | package com.zy.asrs.entity.result; | 
 |  |  |  | 
 |  |  | import com.zy.asrs.entity.LocDetl; | 
 |  |  | import com.zy.asrs.entity.WrkDetl; | 
 |  |  |  | 
 |  |  | public class FindLocNoAttributeVo { | 
 |  |  |     private String matnr = ""; | 
 |  |  |     private String specs = ""; | 
 |  |  | 
 |  |  |     private String standby1 = ""; | 
 |  |  |     private String standby2 = ""; | 
 |  |  |     private String standby3 = ""; | 
 |  |  |     private String boxType1 = "1"; | 
 |  |  |     private String boxType2 = "1"; | 
 |  |  |     private String boxType3 = "1"; | 
 |  |  |  | 
 |  |  |     public FindLocNoAttributeVo() { | 
 |  |  |     } | 
 |  |  | 
 |  |  |     public FindLocNoAttributeVo(String matnr, String batch) { | 
 |  |  |         this.matnr = matnr; | 
 |  |  |         this.batch = batch; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public FindLocNoAttributeVo(String matnr, String specs, String batch, String grade, String brand, String standby1, String standby2, String standby3, String boxType1, String boxType2, String boxType3) { | 
 |  |  |         this.matnr = matnr; | 
 |  |  |         this.specs = specs; | 
 |  |  |         this.batch = batch; | 
 |  |  |         this.grade = grade; | 
 |  |  |         this.brand = brand; | 
 |  |  |         this.standby1 = standby1; | 
 |  |  |         this.standby2 = standby2; | 
 |  |  |         this.standby3 = standby3; | 
 |  |  |         this.boxType1 = boxType1; | 
 |  |  |         this.boxType2 = boxType2; | 
 |  |  |         this.boxType3 = boxType3; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public FindLocNoAttributeVo(String matnr, String batch, String brand) { | 
 |  |  | 
 |  |  |         this.standby1 = standby1; | 
 |  |  |         this.standby2 = standby2; | 
 |  |  |         this.standby3 = standby3; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getBoxType1() { | 
 |  |  |         return boxType1; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setBoxType1(String boxType1) { | 
 |  |  |         this.boxType1 = boxType1; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getBoxType2() { | 
 |  |  |         return boxType2; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setBoxType2(String boxType2) { | 
 |  |  |         this.boxType2 = boxType2; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getBoxType3() { | 
 |  |  |         return boxType3; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public void setBoxType3(String boxType3) { | 
 |  |  |         this.boxType3 = boxType3; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public String getMatnr() { | 
 |  |  | 
 |  |  |     public void setStandby3(String standby3) { | 
 |  |  |         this.standby3 = standby3; | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     public boolean beSimilar(LocDetl locDetl){ | 
 |  |  |         return (this.matnr.equals(locDetl.getMatnr()) | 
 |  |  |                         && this.batch.equals(locDetl.getBatch()) | 
 |  |  |                         && this.brand.equals(locDetl.getBrand()) | 
 |  |  |                         && this.standby1.equals(locDetl.getStandby1()) | 
 |  |  |                         && this.standby2.equals(locDetl.getStandby2()) | 
 |  |  |                         && this.standby3.equals(locDetl.getStandby3()) | 
 |  |  |                         && this.boxType1.equals(locDetl.getBoxType1()) | 
 |  |  |                         && this.boxType2.equals(locDetl.getBoxType2()) | 
 |  |  |                         && this.boxType3.equals(locDetl.getBoxType3()) | 
 |  |  |         ); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     public boolean beSimilar(WrkDetl wrkDetl){ | 
 |  |  |         return (this.matnr.equals(wrkDetl.getMatnr()) | 
 |  |  |                 && this.batch.equals(wrkDetl.getBatch()) | 
 |  |  |                 && this.brand.equals(wrkDetl.getBrand()) | 
 |  |  |                 && this.standby1.equals(wrkDetl.getStandby1()) | 
 |  |  |                 && this.standby2.equals(wrkDetl.getStandby2()) | 
 |  |  |                 && this.standby3.equals(wrkDetl.getStandby3()) | 
 |  |  |                 && this.boxType1.equals(wrkDetl.getBoxType1()) | 
 |  |  |                 && this.boxType2.equals(wrkDetl.getBoxType2()) | 
 |  |  |                 && this.boxType3.equals(wrkDetl.getBoxType3()) | 
 |  |  |         ); | 
 |  |  |     } | 
 |  |  | } |