cxw #25

Merged
root merged 6 commits from cxw into master 2024-09-29 18:04:44 +08:00
3 changed files with 14 additions and 0 deletions
Showing only changes of commit 88ac93c477 - Show all commits

View File

@ -85,6 +85,10 @@ public class ProductSpuRespVO {
@Schema(description = "是否优品推荐") @Schema(description = "是否优品推荐")
@ExcelProperty("是否优品推荐") @ExcelProperty("是否优品推荐")
private Integer recommendGood; private Integer recommendGood;
@Schema(description = "是否仅付费会员可见")
@ExcelProperty("是否仅付费会员可见")
private Integer onlyPaidMemberView;
// ========== SKU 相关字段 ========= // ========== SKU 相关字段 =========
@Schema(description = "规格类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "true") @Schema(description = "规格类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")

View File

@ -118,4 +118,8 @@ public class ProductSpuSaveReqVO {
@Schema(description = "是否优品推荐") @Schema(description = "是否优品推荐")
@Valid @Valid
private Integer recommendGood; private Integer recommendGood;
@Schema(description = "是否仅付费会员可见")
@Valid
private Integer onlyPaidMemberView;
} }

View File

@ -15,6 +15,7 @@ import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*; import lombok.*;
import javax.validation.Valid;
import java.util.List; import java.util.List;
/** /**
@ -115,6 +116,11 @@ public class ProductSpuDO extends BaseDO {
*/ */
private Integer recommendGood; private Integer recommendGood;
/**
* 是否仅付费会员可见
*/
private Integer onlyPaidMemberView;
// ========== SKU 相关字段 ========= // ========== SKU 相关字段 =========
/** /**