package com.zbkj.common.response;

import com.zbkj.common.model.order.StoreOrderReturnInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ApplyRecordsResponse对象", description="ApplyRecordsResponse对象")
public class ApplyRecordsResponse implements Serializable {

    private static final long serialVersionUID = 1387727608277207652L;

    @ApiModelProperty(value = "申请id")
    private Integer id;

    @ApiModelProperty(value = "申请编号")
    private String code;

    @ApiModelProperty(value = "订单号")
    private Integer orderId;

    @ApiModelProperty(value = "状态：1退款审核中  2审核通过  3审核拒绝  4退款失败")
    private Integer returnState;

    @ApiModelProperty(value = "售后数量")
    private Integer returnNum;

    @ApiModelProperty(value = "退款金额")
    private BigDecimal returnAmount;

    @ApiModelProperty(value = "申请时间")
    private Date createTime;

    @ApiModelProperty(value = "退款审核时间")
    private Date returnVerifyDate;

    @ApiModelProperty(value = "退款原因")
    private String returnReason;

    @ApiModelProperty(value = "退款图片")
    private String returnImage;

    @ApiModelProperty(value = "申请退款失败原因")
    private String refundVerifyFailReason;

    @ApiModelProperty(value = "售后详情对象列表")
    private List<StoreOrderReturnInfo> returnInfoList;

}
