From 47a751cb301d05276ae5d75145d57b2d090fe4e1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: Mon, 01 Jul 2024 10:58:35 +0800
Subject: [PATCH] change
---
src/main/java/com/nanometer/smartlab/entity/SysWarehouse.java | 101 ++++++--------------------------------------------
1 files changed, 13 insertions(+), 88 deletions(-)
diff --git a/src/main/java/com/nanometer/smartlab/entity/SysWarehouse.java b/src/main/java/com/nanometer/smartlab/entity/SysWarehouse.java
index 72e8730..9882428 100644
--- a/src/main/java/com/nanometer/smartlab/entity/SysWarehouse.java
+++ b/src/main/java/com/nanometer/smartlab/entity/SysWarehouse.java
@@ -1,17 +1,24 @@
package com.nanometer.smartlab.entity;
+import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.nanometer.smartlab.entity.enumtype.ValidFlag;
+import lombok.Getter;
+import lombok.Setter;
import java.io.Serializable;
+import java.math.BigDecimal;
import java.sql.Timestamp;
/**
* Created by johnny on 17/11/23.
*/
+@Getter
+@Setter
@SuppressWarnings("serial")
+@JsonIgnoreProperties(value = {"handler"})
public class SysWarehouse implements Serializable {
- private String id;
+ private Long id;
private String type;
private String name;
private String infoCode;
@@ -22,93 +29,11 @@
private Timestamp updateTime;
private ValidFlag validFlag;
//新增负责部门
- private String department;
+ private Long department;
- public String getId() {
- return id;
- }
+ private BigDecimal temperatureMax;
+ private BigDecimal temperatureMin;
+ private BigDecimal humidityMax;
+ private BigDecimal humidityMin;
- public void setId(String id) {
- this.id = id;
- }
-
- public String getType() {
- return type;
- }
-
- public void setType(String type) {
- this.type = type;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getInfoCode() {
- return infoCode;
- }
-
- public void setInfoCode(String infoCode) {
- this.infoCode = infoCode;
- }
-
- public String getBarCode() {
- return barCode;
- }
-
- public void setBarCode(String barCode) {
- this.barCode = barCode;
- }
-
- public String getLocation1() {
- return location1;
- }
-
- public void setLocation1(String location1) {
- this.location1 = location1;
- }
-
- public String getLocation2() {
- return location2;
- }
-
- public void setLocation2(String location2) {
- this.location2 = location2;
- }
-
- 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 getDepartment() {
- return department;
- }
-
- public void setDepartment(String department) {
- this.department = department;
- }
}
--
Gitblit v1.9.2