From 5cc66034f6d2dba30d2132078b2730f1dd4abf86 Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期六, 31 七月 2021 21:00:56 +0800 Subject: [PATCH] 修改bug --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java index 335bc5e..8c654c8 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/easyPhoto/AddEasyPhotoActivityDTO.java @@ -3,6 +3,7 @@ import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; +import org.hibernate.validator.constraints.Length; import java.math.BigDecimal; import java.util.Date; @@ -21,6 +22,7 @@ private String activityEndAt; @ApiModelProperty("活动简介") + @Length(max=20) private String content; @ApiModelProperty("优质奖励金额") @@ -32,6 +34,9 @@ @ApiModelProperty("普通奖励金额") private BigDecimal ordinaryReward; + @ApiModelProperty("一般奖励金额") + private BigDecimal commonlyReward; + @ApiModelProperty("活动图片") private String logo; } -- Gitblit v1.7.1