package com.sonic.lion.domain.req;

import com.sonic.common.rpc.Page;
import com.sonic.lion.domain.entity.AppleRefundRecord;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class RefundQueryReq {

    @Builder.Default
    Page<AppleRefundRecord> page = new Page<>(1, 20);

    @ApiModelProperty("开始时间戳")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间戳")
    private LocalDateTime endTime;

    @ApiModelProperty("订单编号")
    private String tradeNo;

    @ApiModelProperty("用户Id")
    private Long userId;

    private String transactionId;
}
