From 14255942c7a30ddac8f513c91b026ae34e17cfde Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期四, 16 五月 2024 17:55:26 +0800
Subject: [PATCH] 完善代码
---
pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductFile.java | 30 +++++++++++++++++++++---------
1 files changed, 21 insertions(+), 9 deletions(-)
diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductFile.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductFile.java
index 5a60fa6..e913451 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductFile.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductFile.java
@@ -1,14 +1,16 @@
package com.dy.pmsGlobal.pojoPlt;
-import com.alibaba.fastjson2.annotation.JSONField;
-import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
+import java.io.Serializable;
+
import lombok.*;
/**
* 浜у搧鏂囦欢鍏宠仈琛�
+ * @TableName plt_product_file
*/
@TableName(value="plt_product_file", autoResultMap = true)
@Data
@@ -16,19 +18,29 @@
@ToString
@NoArgsConstructor
@AllArgsConstructor
-public class PltProductFile {
+public class PltProductFile implements Serializable {
/**
- * 涓婚敭
+ *
*/
- public Long id;
+ @TableId(type = IdType.AUTO)
+ private Long id;
/**
- * 浜у搧瀹炰綋缂栧彿
- */
+ * 浜у搧瀹炰綋缂栧彿
+ */
public Long proId;
/**
- * 鏂囦欢缂栧彿
- */
+ * 鏂囦欢缂栧彿
+ */
public Long fileId;
+
+ /**
+ * 鏂囦欢绫诲瀷:01:宸ヨ壓鏂囦欢,02:鐢ㄦ埛鎵嬪唽,03:鐗╂枡娓呭崟
+ */
+ public String fileType;
+
+ @TableField(exist = false)
+ public String webUrl;
+
}
\ No newline at end of file
--
Gitblit v1.8.0