package cn.iocoder.yudao.module.member.controller.admin.user.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 会员用户积分分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class MemberPointsPageReqVO extends PageParam {

    @Schema(description = "会员用户ID", example = "18483")
    private Long memberUserId;

    @Schema(description = "会员用户名称", example = "张三")
    private String memberUserName;

    @Schema(description = "累计积分")
    private Integer accumulatedPoints;

    @Schema(description = "累计兑换积分")
    private Integer redeemPoints;

    @Schema(description = "剩余积分")
    private Integer remainingPoints;

    @Schema(description = "系统机构类型，1：机构 2：居家 3：旅居", example = "1")
    private Integer orgType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createdTime;

    @Schema(description = "创建人")
    private String createdBy;

}