package com.yuchen.saas.parking.api.dto.coupon;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.nest.springwrap.core.mp.support.Query;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author 蔡文强
 * @Date 2023/5/25 15:56
 * @Description 查询优惠卡充值记录列表传参
 */
@Data
public class PmgBatCouponCardRechargeRecordQueryDTO extends Query {

    /**
     * 优惠卡ID
     */
    @ApiModelProperty(name = "couponCardId", value = "优惠卡ID")
    @NotNull(message = "优惠卡ID不能为空")
    private Long couponCardId;

    /**
     * 充值时间开始时间
     */
    @ApiModelProperty(name = "rechargeTime", value = "充值时间开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /**
     * 充值时间结束时间
     */
    @ApiModelProperty(name = "rechargeTime", value = "充值时间结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /**
     * 优惠资金类型(1:虚拟额度 2:充值资金)
     */
    @ApiModelProperty(name = "fundType", value = "优惠资金类型(1:虚拟额度 2:充值资金)")
    private Integer fundType;


    /**
     * 充值方式（1：后台充值，2：用户充值）
     */
    @ApiModelProperty(name = "rechargeType", value = "充值方式（1：后台充值，2：用户充值）")
    private Integer rechargeType;

}
