| | |
| | | package com.nanometer.smartlab.entity; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonIgnoreProperties; |
| | | import com.fasterxml.jackson.annotation.JsonInclude; |
| | | import com.nanometer.smartlab.entity.enumtype.ValidFlag; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | |
| | | import java.io.Serializable; |
| | | import java.sql.Timestamp; |
| | |
| | | /** |
| | | * Created by johnny on 17/11/23. |
| | | */ |
| | | @Getter |
| | | @Setter |
| | | @SuppressWarnings("serial") |
| | | @JsonInclude(NON_NULL) |
| | | @JsonIgnoreProperties(value = {"handler"}) |
| | | public class SysLaboratoryContainer implements Serializable { |
| | | |
| | | private String id; |
| | | private String laboratoryId; |
| | | private String laboratoryName; |
| | | private String type; |
| | | private String laboratoryType; |
| | | private String containerCode; |
| | | private Long id; |
| | | private Long laboratoryId; |
| | | private Long type; |
| | | private String containerCode; |
| | | private String infoCode; |
| | | private String structure; |
| | | private String name; |
| | | private Long structure; |
| | | private Timestamp createTime; |
| | | private Timestamp updateTime; |
| | | private ValidFlag validFlag; |
| | | private String characterLeft; |
| | | private String characterRight; |
| | | private Long characterLeft; |
| | | private Long characterRight; |
| | | private String controllerCode; |
| | | private Double temp; |
| | | private Integer humidity; |
| | | private Double voc1; |
| | | private String flag; |
| | | private String project; |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //非数据库字段 |
| | | private String laboratoryName; |
| | | private String laboratoryType; |
| | | 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){ |
| | |
| | | return projects; |
| | | } |
| | | |
| | | public void setProjects(List<String> projects) { |
| | | this.projects = projects; |
| | | } |
| | | |
| | | public String getProject() { |
| | | if (this.project == null){ |
| | |
| | | return project; |
| | | } |
| | | |
| | | public void setProject(String project) { |
| | | this.project = project; |
| | | } |
| | | } |