From b45d71ba6d7474dc21dfa54df37876429bf2ec46 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期三, 10 四月 2024 22:56:14 +0800
Subject: [PATCH] Merge pull request #1389 from ancienter/develop-add-api-key

---
 src/main/java/com/genersoft/iot/vmp/storager/dao/dto/UserApiKey.java |  151 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 151 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/storager/dao/dto/UserApiKey.java b/src/main/java/com/genersoft/iot/vmp/storager/dao/dto/UserApiKey.java
new file mode 100644
index 0000000..b631295
--- /dev/null
+++ b/src/main/java/com/genersoft/iot/vmp/storager/dao/dto/UserApiKey.java
@@ -0,0 +1,151 @@
+package com.genersoft.iot.vmp.storager.dao.dto;
+
+import io.swagger.v3.oas.annotations.media.Schema;
+
+import java.io.Serializable;
+
+/**
+ * 鐢ㄦ埛淇℃伅
+ */
+@Schema(description = "鐢ㄦ埛ApiKey淇℃伅")
+public class UserApiKey implements Serializable {
+
+    /**
+     * Id
+     */
+    @Schema(description = "Id")
+    private int id;
+
+    /**
+     * 鐢ㄦ埛Id
+     */
+    @Schema(description = "鐢ㄦ埛Id")
+    private int userId;
+
+    /**
+     * 搴旂敤鍚�
+     */
+    @Schema(description = "搴旂敤鍚�")
+    private String app;
+
+    /**
+     * ApiKey
+     */
+    @Schema(description = "ApiKey")
+    private String apiKey;
+
+    /**
+     * 杩囨湡鏃堕棿锛坣ull=姘镐笉杩囨湡锛�
+     */
+    @Schema(description = "杩囨湡鏃堕棿锛坣ull=姘镐笉杩囨湡锛�")
+    private long expiredAt;
+
+    /**
+     * 澶囨敞淇℃伅
+     */
+    @Schema(description = "澶囨敞淇℃伅")
+    private String remark;
+
+    /**
+     * 鏄惁鍚敤
+     */
+    @Schema(description = "鏄惁鍚敤")
+    private boolean enable;
+
+    /**
+     * 鍒涘缓鏃堕棿
+     */
+    @Schema(description = "鍒涘缓鏃堕棿")
+    private String createTime;
+
+    /**
+     * 鏇存柊鏃堕棿
+     */
+    @Schema(description = "鏇存柊鏃堕棿")
+    private String updateTime;
+
+    /**
+     * 鐢ㄦ埛鍚�
+     */
+    private String username;
+
+    public int getId() {
+        return id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
+
+    public int getUserId() {
+        return userId;
+    }
+
+    public void setUserId(int userId) {
+        this.userId = userId;
+    }
+
+    public String getApp() {
+        return app;
+    }
+
+    public void setApp(String app) {
+        this.app = app;
+    }
+
+    public String getApiKey() {
+        return apiKey;
+    }
+
+    public void setApiKey(String apiKey) {
+        this.apiKey = apiKey;
+    }
+
+    public long getExpiredAt() {
+        return expiredAt;
+    }
+
+    public void setExpiredAt(long expiredAt) {
+        this.expiredAt = expiredAt;
+    }
+
+    public String getRemark() {
+        return remark;
+    }
+
+    public void setRemark(String remark) {
+        this.remark = remark;
+    }
+
+    public boolean isEnable() {
+        return enable;
+    }
+
+    public void setEnable(boolean enable) {
+        this.enable = enable;
+    }
+
+    public String getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(String createTime) {
+        this.createTime = createTime;
+    }
+
+    public String getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(String updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public String getUsername() {
+        return username;
+    }
+
+    public void setUsername(String username) {
+        this.username = username;
+    }
+}

--
Gitblit v1.8.0