package com.seer.teach.mall.request;

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

import jakarta.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "购物车商品删除请求实体类")
public class CartDeleteReq {

    @Schema(description = "购物车商品id")
    @NotNull(message = "购物车商品id不能为空")
    private Integer goodsId;

}
