package com.jeesharp.business.modules.member.vo;

import com.jeesharp.framework.pojo.query.PaginationVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 会员积分流水分页查询条件。
 *
 * @author jeesharp
 * @since 2026-06-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "会员积分流水查询参数")
public class MemberPointsLogQueryVO extends PaginationVO {

    @Schema(description = "会员ID")
    private String memberId;

    @Schema(description = "会员ID集合（内部：关键词解析后 IN 筛选）")
    private List<String> memberIdIn;

    @Schema(description = "会员关键词（编号/昵称/姓名/手机/主键）")
    private String memberKeyword;

    @Schema(description = "积分类型：1-获取 2-消费 3-冻结 4-解冻 5-过期 6-调整")
    private Integer pointsType;

    @Schema(description = "业务类型")
    private String bizType;

    @Schema(description = "业务ID")
    private String bizId;

    @Schema(description = "创建开始时间")
    private LocalDateTime createDateStart;

    @Schema(description = "创建结束时间")
    private LocalDateTime createDateEnd;
}
