package org.jeecg.modules.app.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "订单详情响应对象")
public class RefundsInfoDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @Schema(description = "id")
    private String id;

    /**
     * 订单商品数量
     */
    @Schema(description = "orderNum")
    private Integer orderNum;

    /**
     * 订单金额（元）
     */
    @Schema(description = "price")
    private BigDecimal price;

    /**
     * 退款金额（元）
     */
    @Schema(description = "amount")
    private BigDecimal amount;

    /**
     * 退款受理时间
     */
    @Schema(description = "acceptedTime")
    private Date acceptedTime;

    /**
     * 退款成功时间
     */
    @Schema(description = "successTime")
    private Date successTime;

    /**
     * 子订单退款状态
     */
    @Schema(description = "refundStatus")
    private Integer refundStatus;

    /**
     * 创建时间
     */
    @Schema(description = "createTime")
    private Date createTime;
}
