package com.jeesharp.business.modules.finance.profitsharing.vo;

import com.jeesharp.framework.pojo.vo.BaseListVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 分账回退单列表行 VO。
 *
 * @author jeesharp
 * @since 2026-06-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "分账回退列表VO")
public class ProfitSharingReturnListVO extends BaseListVO {

    @Schema(description = "平台回退单号")
    private String returnNo;

    @Schema(description = "商户回退单号")
    private String outReturnNo;

    @Schema(description = "子订单编号")
    private String orderNo;

    @Schema(description = "分账单号")
    private String sharingNo;

    @Schema(description = "回退金额（分）")
    private Integer returnAmountFen;

    @Schema(description = "回退状态")
    private String status;

    @Schema(description = "回退状态名称")
    private String statusName;

    @Schema(description = "微信回退单号")
    private String wxReturnNo;

    @Schema(description = "微信回退结果")
    private String wxResult;

    @Schema(description = "失败原因")
    private String failReason;

    @Schema(description = "回退成功时间")
    private LocalDateTime returnTime;
}
