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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 退款审核 Response VO")
@Data
@ExcelIgnoreUnannotated
public class RefundRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "20066")
    @ExcelProperty("主键")
    private Long id;

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

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

    @Schema(description = "审核状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("审核状态")
    private String status;

    @Schema(description = "申请人id", example = "21777")
    @ExcelProperty("申请人id")
    private Long userId;

    @Schema(description = "申请人", example = "王五")
    @ExcelProperty("申请人")
    private String userName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

    @Schema(description = "申请人电话", example = "王五")
    @ExcelProperty("申请人电话")
    private String mobile;

    private BigDecimal refundAmount;
}