|
|
@@ -11,6 +11,7 @@ public class QRCodeEntity {
|
|
|
private String position;
|
|
|
|
|
|
private String description;
|
|
|
+ private String plant;
|
|
|
|
|
|
public QRCodeEntity() {
|
|
|
}
|
|
|
@@ -24,12 +25,30 @@ public class QRCodeEntity {
|
|
|
"位号:" + getDevNo() + (StringUtils.isNotEmpty(getPosition()) ? " 位置:" + getPosition() : "");
|
|
|
}
|
|
|
|
|
|
+ public QRCodeEntity(Long id, String devNo, String patrolType, String position,String plant) {
|
|
|
+ this.id = id;
|
|
|
+ this.devNo = devNo;
|
|
|
+ this.patrolType = patrolType;
|
|
|
+ this.position = position;
|
|
|
+ this.plant = plant;
|
|
|
+ this.description =
|
|
|
+ "位号:" + getDevNo() + (StringUtils.isNotEmpty(getPosition()) ? " 位置:" + getPosition() : "");
|
|
|
+ }
|
|
|
+
|
|
|
public QRCodeEntity(Long id, String description, String patrolType) {
|
|
|
this.id = id;
|
|
|
this.description = description;
|
|
|
this.patrolType = patrolType;
|
|
|
}
|
|
|
|
|
|
+ public String getPlant() {
|
|
|
+ return plant;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPlant(String plant) {
|
|
|
+ this.plant = plant;
|
|
|
+ }
|
|
|
+
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|