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 java.math.BigDecimal;
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 MemberCardConsumptionPageReqVO extends PageParam {

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

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

    @Schema(description = "会员卡名称", example = "李四")
    private String cardName;

    @Schema(description = "会员卡号")
    private String cardNumber;

    @Schema(description = "消费单号")
    private String orderNum;

    @Schema(description = "消费项目名称", example = "赵六")
    private String itemName;

    @Schema(description = "金额")
    private BigDecimal amount;

    @Schema(description = "状态，0：已取消 1：已完成", example = "1")
    private Integer status;

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

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

    @Schema(description = "取消时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] cancelTime;

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

    @Schema(description = "系统机构类型")
    private Integer orgType;

}