From 177249c76aeea0b4bf8d8816d4994e3b445b45ce Mon Sep 17 00:00:00 2001 From: huanghongfa <huanghongfa123456> Date: 星期四, 02 九月 2021 10:39:34 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/zzj' into zzj --- springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventApplicationUserNoticeAddDTO.java | 20 +++++++------------- 1 files changed, 7 insertions(+), 13 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventApplicationUserNoticeAddDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventApplicationUserNoticeAddDTO.java index 5909744..a5bdade 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventApplicationUserNoticeAddDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventApplicationUserNoticeAddDTO.java @@ -1,17 +1,12 @@ package com.panzhihua.common.model.dtos.grid; +import javax.validation.constraints.Max; + +import org.hibernate.validator.constraints.Length; + import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; - -import javax.validation.constraints.Max; -import javax.validation.constraints.NotNull; -import javax.validation.constraints.NotBlank; -import java.util.Date; -import org.hibernate.validator.constraints.Length; -import com.fasterxml.jackson.annotation.JsonFormat; - - /** * 创建表单 @@ -20,7 +15,7 @@ * @version 1.0 * @since 1.0 * @date 2021-05-26 - * */ + */ @Data @ApiModel("创建用户协议和隐私政策信息请求参数") public class EventApplicationUserNoticeAddDTO { @@ -29,7 +24,7 @@ @ApiModelProperty(value = "应用ID", hidden = false, example = "1") private Integer productId; - @Length(max=50) + @Length(max = 50) @ApiModelProperty(value = "应用名称", hidden = false, example = "") private String productName; @@ -37,10 +32,9 @@ @ApiModelProperty(value = "通知行为(1、强制通知必须手段确定2、提示更新,自动消退)", hidden = false, example = "1") private Integer action; - @Length(max=1000) + @Length(max = 1000) @ApiModelProperty(value = "内容", hidden = false, example = "") private String content; - @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1") private Long userId; -- Gitblit v1.7.1