package com.nanometer.smartlab.entity;
|
|
import com.nanometer.smartlab.entity.enumtype.ValidFlag;
|
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
import java.util.*;
|
|
/**
|
* Created by johnny on 17/11/23.
|
*/
|
@SuppressWarnings("serial")
|
public class SysLaboratoryContainer implements Serializable {
|
|
private String id;
|
private String laboratoryId;
|
private String laboratoryName;
|
private String type;
|
private String laboratoryType;
|
private String containerCode;
|
private String infoCode;
|
private String structure;
|
private String name;
|
private Timestamp createTime;
|
private Timestamp updateTime;
|
private ValidFlag validFlag;
|
private String characterLeft;
|
private String characterRight;
|
private String controllerCode;
|
private String controllerName;
|
private List<String> projects;
|
private String project;
|
public String getControllerName() {
|
return controllerName;
|
}
|
|
public void setControllerName(String controllerName) {
|
this.controllerName = controllerName;
|
}
|
|
public String getLaboratoryName() {
|
return laboratoryName;
|
}
|
|
public void setLaboratoryName(String laboratoryName) {
|
this.laboratoryName = laboratoryName;
|
}
|
|
public String getLaboratoryType() {
|
return laboratoryType;
|
}
|
|
public void setLaboratoryType(String laboratoryType) {
|
this.laboratoryType = laboratoryType;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getLaboratoryId() {
|
return laboratoryId;
|
}
|
|
public void setLaboratoryId(String laboratoryId) {
|
this.laboratoryId = laboratoryId;
|
}
|
|
public String getType() {
|
return type;
|
}
|
|
public void setType(String type) {
|
this.type = type;
|
}
|
|
public String getContainerCode() {
|
return containerCode;
|
}
|
|
public void setContainerCode(String containerCode) {
|
this.containerCode = containerCode;
|
}
|
|
public String getInfoCode() {
|
return infoCode;
|
}
|
|
public void setInfoCode(String infoCode) {
|
this.infoCode = infoCode;
|
}
|
|
public String getStructure() {
|
return structure;
|
}
|
|
public void setStructure(String structure) {
|
this.structure = structure;
|
}
|
|
public Timestamp getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Timestamp createTime) {
|
this.createTime = createTime;
|
}
|
|
public Timestamp getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Timestamp updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public ValidFlag getValidFlag() {
|
return validFlag;
|
}
|
|
public void setValidFlag(ValidFlag validFlag) {
|
this.validFlag = validFlag;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getCharacterLeft() {
|
return characterLeft;
|
}
|
|
public void setCharacterLeft(String characterLeft) {
|
this.characterLeft = characterLeft;
|
}
|
|
public String getCharacterRight() {
|
return characterRight;
|
}
|
|
public void setCharacterRight(String characterRight) {
|
this.characterRight = characterRight;
|
}
|
|
public String getControllerCode() {
|
return controllerCode;
|
}
|
|
public void setControllerCode(String controllerCode) {
|
this.controllerCode = controllerCode;
|
}
|
|
public List<String> getProjects() {
|
if (projects == null && project != null){
|
this.projects = Arrays.asList(this.project.split(","));
|
}
|
return projects;
|
}
|
|
public void setProjects(List<String> projects) {
|
this.projects = projects;
|
}
|
|
public String getProject() {
|
if (this.project == null){
|
this.project = "";
|
if (projects != null && projects.size() > 0) {
|
projects.forEach(pro->{
|
this.project += ",";
|
this.project += pro;
|
});
|
this.project = this.project.substring(1);
|
}
|
}
|
return project;
|
}
|
|
public void setProject(String project) {
|
this.project = project;
|
}
|
}
|