package com.haha.common.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 退款申请详情展示对象
 */
@Data
public class RefundApplicationVO {
    private Long id;
    private String applicationNo;
    private Long orderId;
    private String orderNo;
    private Long userId;
    private BigDecimal refundAmount;
    private String reason;
    private List<RefundProductVO> refundProducts;
    private Integer status;
    /** 退款后是否恢复库存：1=恢复，0=不恢复 */
    private Integer restoreStock;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime reviewTime;
    private String reviewRemark;
}
