From 230615d093a235e2e481355edb47f37e380b3069 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期六, 07 六月 2025 08:09:04 +0800
Subject: [PATCH] #app
---
src/main/java/com/zy/asrs/entity/AppVersion.java | 86 +++++++++++++++++++++++++++++++++++++++++++
1 files changed, 86 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/AppVersion.java b/src/main/java/com/zy/asrs/entity/AppVersion.java
new file mode 100644
index 0000000..d9e9c1e
--- /dev/null
+++ b/src/main/java/com/zy/asrs/entity/AppVersion.java
@@ -0,0 +1,86 @@
+package com.zy.asrs.entity;
+
+import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
+import com.baomidou.mybatisplus.enums.IdType;
+
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import com.baomidou.mybatisplus.annotations.TableName;
+import java.io.Serializable;
+
+@Data
+@TableName("asr_app_version")
+public class AppVersion implements Serializable {
+
+ private static final long serialVersionUID = 1L;
+
+ @ApiModelProperty(value= "")
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
+
+ /**
+ * 鐗堟湰鍙�
+ */
+ @ApiModelProperty(value= "鐗堟湰鍙�")
+ private String version;
+
+ /**
+ * app璺緞
+ */
+ @ApiModelProperty(value= "app璺緞")
+ private String path;
+
+ /**
+ * 鏄惁涓烘渶鏂扮増鏈� 0: 鍚� 1: 鏄�
+ */
+ @ApiModelProperty(value= "鏄惁涓烘渶鏂扮増鏈� 0: 鍚� 1: 鏄� ")
+ private Integer latest;
+
+ /**
+ * app绫诲瀷 0: pda 1: lcd
+ */
+ @ApiModelProperty(value= "app绫诲瀷 0: pda 1: lcd ")
+ private Integer type;
+
+ public AppVersion() {}
+
+ public AppVersion(String version,String path,Integer latest,Integer type) {
+ this.version = version;
+ this.path = path;
+ this.latest = latest;
+ this.type = type;
+ }
+
+// AppVersion appVersion = new AppVersion(
+// null, // 鐗堟湰鍙�
+// null, // app璺緞
+// null, // 鏄惁涓烘渶鏂扮増鏈�
+// null // app绫诲瀷
+// );
+
+ public String getLatest$(){
+ if (null == this.latest){ return null; }
+ switch (this.latest){
+ case 0:
+ return "鍚�";
+ case 1:
+ return "鏄�";
+ default:
+ return String.valueOf(this.latest);
+ }
+ }
+
+ public String getType$(){
+ if (null == this.type){ return null; }
+ switch (this.type){
+ case 0:
+ return "pda";
+ case 1:
+ return "lcd";
+ default:
+ return String.valueOf(this.type);
+ }
+ }
+
+
+}
--
Gitblit v1.9.1