From d2c1ef1d5c71dc26618a06cbf813c15f248c9191 Mon Sep 17 00:00:00 2001 From: gongzuming <gongzuming> Date: 星期二, 27 八月 2024 08:39:32 +0800 Subject: [PATCH] 表设计字段优化 --- src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java b/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java index 7d3c9e1..ee0b8d3 100644 --- a/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java +++ b/src/main/java/com/mzl/flower/dto/response/content/FeedbackDTO.java @@ -1,12 +1,14 @@ package com.mzl.flower.dto.response.content; +import com.mzl.flower.base.AbstractTransDTO; +import com.mzl.flower.base.annotation.DictTrans; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import java.time.LocalDateTime; @Data -public class FeedbackDTO { +public class FeedbackDTO extends AbstractTransDTO { private Long id; @@ -17,8 +19,12 @@ private String feedBack; @ApiModelProperty("投诉反馈类型(feedback_type)") + @DictTrans(target = "typeStr",codeType = "feedback_type") private String type; + @ApiModelProperty("投诉反馈类型(feedback_type)") + private String typeStr; + @ApiModelProperty("图片") private String pictures; -- Gitblit v1.9.3