From f44e4d609e7efaed9eac545137970b1e334f8106 Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期六, 21 九月 2024 09:01:36 +0800 Subject: [PATCH] 修改bug --- ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomGoodsDTO.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomGoodsDTO.java b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomGoodsDTO.java index 7c67469..fee3c58 100644 --- a/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomGoodsDTO.java +++ b/ruoyi-modules/ruoyi-auction/src/main/java/com/ruoyi/auction/controller/management/dto/MgtAuctionSalesroomGoodsDTO.java @@ -1,6 +1,7 @@ package com.ruoyi.auction.controller.management.dto; import io.swagger.annotations.ApiModelProperty; +import java.io.Serializable; import java.math.BigDecimal; import javax.validation.constraints.NotNull; import lombok.Data; @@ -10,8 +11,10 @@ * @date 2024/5/30 */ @Data -public class MgtAuctionSalesroomGoodsDTO { +public class MgtAuctionSalesroomGoodsDTO implements Serializable { + private static final long serialVersionUID = -7793257582778819593L; + @ApiModelProperty(value = "商品id") @NotNull(message = "商品id不能为空") private Long goodsSkuId; @@ -36,7 +39,6 @@ private Integer listingDuration; @ApiModelProperty(value = "设为备选") - @NotNull(message = "设为备选不能为空") private Boolean backupStatus; @ApiModelProperty(value = "排序") -- Gitblit v1.7.1