From 58d7b0e12ccd92cf3934f6582b51b5fbcecaa39a Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期四, 09 五月 2024 09:42:41 +0800
Subject: [PATCH] 修改注入方式

---
 springboot-vue3/src/main/java/com/example/springboot/entity/alarmmg.java |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/springboot-vue3/src/main/java/com/example/springboot/entity/alarmmg.java b/springboot-vue3/src/main/java/com/example/springboot/entity/alarmmg.java
index e1380ba..cde8841 100644
--- a/springboot-vue3/src/main/java/com/example/springboot/entity/alarmmg.java
+++ b/springboot-vue3/src/main/java/com/example/springboot/entity/alarmmg.java
@@ -1,16 +1,15 @@
 package com.example.springboot.entity;
 
 import java.util.Date;
-
-
+//鎶ヨ淇℃伅琛�
 public class alarmmg {
-  private Integer id;
-  private String content;
-  private Date timeon;
-  private Date endTime;
+  private Integer id;//鑷id
+  private String content;//鎶ヨ鍐呭
+  private Date timeon;//鎶ヨ鏃堕棿
+  private Date endTime;//鎶ヨ缁撴潫鏃堕棿
+  private String timeons;//鎶ヨ鏃堕棿锛岄潪鏃堕棿鎴崇被鍨�
 
-  private String timeons;
-
+  // 鑷id
   public void setid(Integer id) {
     this.id = id;
   }
@@ -19,6 +18,7 @@
     return id;
   }
 
+  // 鎶ヨ鍐呭
   public void setontent(String content) {
     this.content = content;
   }
@@ -27,6 +27,7 @@
     return content;
   }
 
+  // 鎶ヨ寮�濮嬫椂闂�
   public void settimeon(Date timeon) {
     this.timeon = timeon;
   }
@@ -35,6 +36,7 @@
     return timeon;
   }
 
+  // 鎶ヨ缁撴潫鏃堕棿
   public void setendTime(Date endTime) {
     this.endTime = endTime;
   }

--
Gitblit v1.8.0