puhanshu
2022-08-16 43f0578e80af82ecae6c61b51bd0539c6b960603
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/grid/EventApplicationAppReleaseAddDTO.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("创建APP应用版本信息请求参数")
public class EventApplicationAppReleaseAddDTO {
@@ -29,11 +24,11 @@
    @ApiModelProperty(value = "应用ID", hidden = false, example = "1")
    private Integer productId;
    @Length(max=50)
    @Length(max = 50)
    @ApiModelProperty(value = "应用名称", hidden = false, example = "")
    private String productName;
    @Length(max=255)
    @Length(max = 255)
    @ApiModelProperty(value = "版本编号", hidden = false, example = "")
    private String releaseNumber;
@@ -41,10 +36,9 @@
    @ApiModelProperty(value = "通知行为(1、强制更新2、提示更新)", hidden = false, example = "1")
    private Integer action;
    @Length(max=255)
    @Length(max = 255)
    @ApiModelProperty(value = "版本地址", hidden = false, example = "")
    private String url;
    @ApiModelProperty(value = "(当前操作)用户ID", hidden = true, example = "1")
    private Long userId;