package com.ylx.order.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

@ApiModel("售后服务详情VO")
@Data
public class AfterSalesServiceDetailVO {

    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("售后单号")
    private String serviceNo;

    @ApiModelProperty("关联的主订单ID")
    private Long orderId;

    @ApiModelProperty("售后状态：0=待审核, 1=审核通过(退款中), 2=审核拒绝, 3=退款成功, 4=退款失败 ")
    private Integer status;

    @ApiModelProperty("退款金额")
    private BigDecimal actualRefundAmount;

    @ApiModelProperty("退款规则描述")
    private String refundDesc;

    @ApiModelProperty("审核时间")
    private LocalDateTime auditTime;

    @ApiModelProperty("拒绝原因")
    private String rejectReason;

    @ApiModelProperty("审核备注")
    private String auditRemark;

    @ApiModelProperty("退款成功时间")
    private LocalDateTime refundSuccessTime;

    @ApiModelProperty("商户ID")
    private Long merchantId;

    @ApiModelProperty("商户昵称")
    private String merchantNickName;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("项目封面图")
    private String projectCover;

    @ApiModelProperty("详细服务地址")
    private String contactAddressInfo;

    @ApiModelProperty("项目标价/售价")
    private BigDecimal basePrice;

    @ApiModelProperty("最终应付/实付金额")
    private BigDecimal finalAmount;

    @ApiModelProperty("订单状态：0=待付款，1=待派单，2=待接单，3=待服务，4=服务中，5=售后中，6=已完成，7=已退款，8=已取消，9=已关闭，10=拒绝接单")
    private Integer orderStatus;

}
