package cn.iocoder.yudao.module.system.controller.admin.yk.vo;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
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.LocalDate;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
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 YkElderlyPaymentRecordPageReqVO extends PageParam {

    @Schema(description = "颐康长者ID", example = "21819")
    private Long ykElderId;

    @Schema(description = "长者名称", example = "芋艿")
    private String elderlyName;

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

    @Schema(description = "收款方式", example = "2")
    private String paymentType;

    @Schema(description = "收款时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate[] dateRange;

    @Schema(description = "操作员")
    private String operator;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "收款凭证图片URL")
    private String receiptImage;

    private String begin;
    private String end;

}