|
@@ -0,0 +1,80 @@
|
|
|
+package org.dromara.domain.communityNews.vo;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import io.github.linpeilie.annotations.AutoMapper;
|
|
|
+import lombok.Data;
|
|
|
+import org.dromara.common.excel.annotation.ExcelDictFormat;
|
|
|
+import org.dromara.common.excel.convert.ExcelDictConvert;
|
|
|
+import org.dromara.domain.communityNews.CommentStars;
|
|
|
+
|
|
|
+import java.io.Serial;
|
|
|
+import java.io.Serializable;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+/**
|
|
|
+ * 社区资讯收藏视图对象 comment_stars
|
|
|
+ *
|
|
|
+ * @author boman
|
|
|
+ * @date 2025-04-11
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@ExcelIgnoreUnannotated
|
|
|
+@AutoMapper(target = CommentStars.class)
|
|
|
+public class CommentStarsVo implements Serializable {
|
|
|
+
|
|
|
+ @Serial
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 社区资讯收藏ID
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "社区资讯收藏ID")
|
|
|
+ private Long starsId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 目标ID
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "目标ID")
|
|
|
+ private Long targetId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 目标类型(1:社区 2:党建 )
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "目标类型", converter = ExcelDictConvert.class)
|
|
|
+ @ExcelDictFormat(readConverterExp = "1=:社区,2=:党建")
|
|
|
+ private String targetType;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 目标标题
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "目标标题")
|
|
|
+ private String targetTitle;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 用户id
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "用户id")
|
|
|
+ private Long userId;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 用户昵称
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "用户昵称")
|
|
|
+ private String nickName;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 头像地址
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "头像地址")
|
|
|
+ private String avatar;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 备注
|
|
|
+ */
|
|
|
+ @ExcelProperty(value = "备注")
|
|
|
+ private String remark;
|
|
|
+
|
|
|
+
|
|
|
+}
|