From 29bd10e6981aa5cfcd087dd9695f3d926925f847 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 23 十月 2025 16:44:31 +0800
Subject: [PATCH] 13
---
src/main/java/com/zy/system/entity/Api.java | 33 +++++++++++++++++++--------------
1 files changed, 19 insertions(+), 14 deletions(-)
diff --git a/src/main/java/com/zy/system/entity/Api.java b/src/main/java/com/zy/system/entity/Api.java
index 9342543..3a80e0c 100644
--- a/src/main/java/com/zy/system/entity/Api.java
+++ b/src/main/java/com/zy/system/entity/Api.java
@@ -27,7 +27,7 @@
private String namespace;
/**
- * 鎺堟潈 0: 鏃犻渶鎺堟潈 1: 闇�瑕佹巿鏉�
+ * 鎺堟潈 0: 鏃犻渶鎺堟潈 1: 闇�瑕佹巿鏉�
*/
private Short oauth;
@@ -54,13 +54,14 @@
private Date updateTime;
/**
- * 鐘舵�� 1: 鏈夋晥 0: 绂佺敤
+ * 鐘舵�� 1: 鏈夋晥 0: 绂佺敤
*/
private Short status;
- public Api() {}
+ public Api() {
+ }
- public Api(String namespace,Short oauth,String request,String response,Date createTime,Date updateTime,Short status) {
+ public Api(String namespace, Short oauth, String request, String response, Date createTime, Date updateTime, Short status) {
this.namespace = namespace; // 鍛藉悕绌洪棿[闈炵┖]
this.oauth = oauth; // 鎺堟潈[闈炵┖]
this.request = request; // 璇锋眰缁撴瀯
@@ -90,9 +91,11 @@
return oauth;
}
- public String getOauth$(){
- if (null == this.oauth){ return null; }
- switch (this.oauth){
+ public String getOauth$() {
+ if (null == this.oauth) {
+ return null;
+ }
+ switch (this.oauth) {
case 0:
return "鏃犻渶鎺堟潈";
case 1:
@@ -126,8 +129,8 @@
return createTime;
}
- public String getCreateTime$(){
- if (Cools.isEmpty(this.createTime)){
+ public String getCreateTime$() {
+ if (Cools.isEmpty(this.createTime)) {
return "";
}
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
@@ -141,8 +144,8 @@
return updateTime;
}
- public String getUpdateTime$(){
- if (Cools.isEmpty(this.updateTime)){
+ public String getUpdateTime$() {
+ if (Cools.isEmpty(this.updateTime)) {
return "";
}
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
@@ -156,9 +159,11 @@
return status;
}
- public String getStatus$(){
- if (null == this.status){ return null; }
- switch (this.status){
+ public String getStatus$() {
+ if (null == this.status) {
+ return null;
+ }
+ switch (this.status) {
case 1:
return "鏈夋晥";
case 0:
--
Gitblit v1.9.1