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

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

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

    @Schema(description = "关联订单", example = "14732")
    private Long orderId;

    @Schema(description = "退款金额")
    private BigDecimal money;

    @Schema(description = "审核状态", example = "1")
    private String status;

    @Schema(description = "审核人id", example = "21777")
    private Long userId;

    @Schema(description = "审核人", example = "王五")
    private String userName;

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

    @Schema(description = "订单金额")
    private BigDecimal orderMoney;

    @Schema(description = "手机")
    private String mobile;
}