package com.gxwebsoft.shop.param;

import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 订单购物详情表查询参数
 *
 * @author 科技小王子
 * @since 2024-09-10 21:05:07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "ShopOrderCartInfoParam对象", description = "订单购物详情表查询参数")
public class ShopOrderCartInfoParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Long id;

    @ApiModelProperty(value = "订单id")
    private Long oid;

    @ApiModelProperty(value = "订单号")
    private String orderId;

    @ApiModelProperty(value = "购物车id")
    private Long cartId;

    @ApiModelProperty(value = "商品ID")
    private Long productId;

    @ApiModelProperty(value = "购买东西的详细信息")
    private String cartInfo;

    @ApiModelProperty(value = "唯一id")
    private String unique;

    @ApiModelProperty(value = "是否能售后0不能1能")
    @QueryField(type = QueryType.EQ)
    private Boolean isAfterSales;

}
