From 47a751cb301d05276ae5d75145d57b2d090fe4e1 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期一, 01 七月 2024 10:58:35 +0800
Subject: [PATCH] change

---
 src/main/java/com/nanometer/smartlab/entity/DangerousEncode.java |  162 ++---------------------------------------------------
 1 files changed, 7 insertions(+), 155 deletions(-)

diff --git a/src/main/java/com/nanometer/smartlab/entity/DangerousEncode.java b/src/main/java/com/nanometer/smartlab/entity/DangerousEncode.java
index a763b38..4544316 100644
--- a/src/main/java/com/nanometer/smartlab/entity/DangerousEncode.java
+++ b/src/main/java/com/nanometer/smartlab/entity/DangerousEncode.java
@@ -1,8 +1,13 @@
 package com.nanometer.smartlab.entity;
 
+import lombok.Getter;
+import lombok.Setter;
+
 import java.io.Serializable;
 import java.util.Date;
 
+@Setter
+@Getter
 public class DangerousEncode implements Serializable {
     /** id  id **/
     private Long id;
@@ -52,162 +57,9 @@
     /** 使用次数  count **/
     private Integer count;
 
-    public Long getId() {
-        return id;
-    }
+    //非数据库字段
+    private String containerName;
 
-    public void setId(Long id) {
-        this.id = id;
-    }
 
-    /**   柜码  container_number   **/
-    public String getContainerNumber() {
-        return containerNumber;
-    }
-
-    /**   柜码  container_number   **/
-    public void setContainerNumber(String containerNumber) {
-        this.containerNumber = containerNumber == null ? null : containerNumber.trim();
-    }
-
-    /**   试剂名称码  reagent_code   **/
-    public String getReagentCode() {
-        return reagentCode;
-    }
-
-    /**   试剂名称码  reagent_code   **/
-    public void setReagentCode(String reagentCode) {
-        this.reagentCode = reagentCode == null ? null : reagentCode.trim();
-    }
-
-    /**   试剂名称  reagent_name   **/
-    public String getReagentName() {
-        return reagentName;
-    }
-
-    /**   试剂名称  reagent_name   **/
-    public void setReagentName(String reagentName) {
-        this.reagentName = reagentName == null ? null : reagentName.trim();
-    }
-
-    /**   CAS号  cas   **/
-    public String getCas() {
-        return cas;
-    }
-
-    /**   CAS号  cas   **/
-    public void setCas(String cas) {
-        this.cas = cas == null ? null : cas.trim();
-    }
-
-    /**   备注  memo   **/
-    public String getMemo() {
-        return memo;
-    }
-
-    /**   备注  memo   **/
-    public void setMemo(String memo) {
-        this.memo = memo == null ? null : memo.trim();
-    }
-
-    /**   性状  property   **/
-    public String getProperty() {
-        return property;
-    }
-
-    /**   性状  property   **/
-    public void setProperty(String property) {
-        this.property = property == null ? null : property.trim();
-    }
-
-    /**   特性  feature   **/
-    public String getFeature() {
-        return feature;
-    }
-
-    /**   特性  feature   **/
-    public void setFeature(String feature) {
-        this.feature = feature == null ? null : feature.trim();
-    }
-
-    /**   相忌  avoid   **/
-    public String getAvoid() {
-        return avoid;
-    }
-
-    /**   相忌  avoid   **/
-    public void setAvoid(String avoid) {
-        this.avoid = avoid == null ? null : avoid.trim();
-    }
-
-    /**   状态  status   **/
-    public String getStatus() {
-        return status;
-    }
-
-    /**   状态  status   **/
-    public void setStatus(String status) {
-        this.status = status == null ? null : status.trim();
-    }
-
-    /**   灭火器  fire   **/
-    public String getFire() {
-        return fire;
-    }
-
-    /**   灭火器  fire   **/
-    public void setFire(String fire) {
-        this.fire = fire == null ? null : fire.trim();
-    }
-
-    /**   随机码  random   **/
-    public String getRandom() {
-        return random;
-    }
-
-    /**   随机码  random   **/
-    public void setRandom(String random) {
-        this.random = random == null ? null : random.trim();
-    }
-
-    /**   编码  code   **/
-    public String getCode() {
-        return code;
-    }
-
-    /**   编码  code   **/
-    public void setCode(String code) {
-        this.code = code == null ? null : code.trim();
-    }
-
-    /**   更新时间  update_time   **/
-    public Date getUpdateTime() {
-        return updateTime;
-    }
-
-    /**   更新时间  update_time   **/
-    public void setUpdateTime(Date updateTime) {
-        this.updateTime = updateTime;
-    }
-
-    /**   创建用户  creator   **/
-    public String getCreator() {
-        return creator;
-    }
-
-    /**   创建用户  creator   **/
-    public void setCreator(String creator) {
-        this.creator = creator == null ? null : creator.trim();
-    }
-
-    /**   使用次数  count   **/
-    public Integer getCount() {
-        return count;
-    }
-
-    /**   使用次数  count   **/
-    public void setCount(Integer count) {
-        this.count = count;
-    }
 
 }

--
Gitblit v1.9.2