package com.gxwebsoft.shop.param;

import java.math.BigDecimal;
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.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 礼品卡查询参数
 *
 * @author 科技小王子
 * @since 2025-08-11 18:07:31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "ShopGiftParam对象", description = "礼品卡查询参数")
public class ShopGiftParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    private String name;

    @Schema(description = "秘钥")
    private String code;

    @Schema(description = "商品ID")
    @QueryField(type = QueryType.EQ)
    private Integer goodsId;

    @Schema(description = "使用地点")
    private String useLocation;

    @Schema(description = "领取时间")
    private String takeTime;

    @Schema(description = "操作人")
    @QueryField(type = QueryType.EQ)
    private Integer operatorUserId;

    @Schema(description = "核销时间")
    private String verificationTime;

    @Schema(description = "是否展示")
    @QueryField(type = QueryType.EQ)
    private Boolean isShow;

    @Schema(description = "状态, 0未使用 1已使用 2失效")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "操作员备注")
    private String operatorRemarks;

    @Schema(description = "排序号")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @Schema(description = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

}
