package com.yc.ship.module.product.controller.admin.productSpu.spuVO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 产品上架状态修改 Request VO")
@Data
public class UpdateProductStatusVO {

    @Schema(description = "主键", example = "20189")
    @NotNull(message = "产品id不能为空")
    private Long id;

    @Schema(description = "上架状态")
    @NotNull(message = "上架状态不能为空")
    private Integer isUse;

}