package com.sckw.payment.model.vo.res;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

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

/**
 * @author xucaiqin
 * @date 2026-03-26 14:45:11
 */
@Schema(description = "预付")
@Data
public class PayVo {
    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 付款方
     */
    @Schema(description = "付款方")
    private Long fromEnt;
    @Schema(description = "付款方")
    private String fromEntName;

    /**
     * 收款方
     */
    @Schema(description = "收款方")
    private Long toEnt;

    @Schema(description = "收款方")
    private String toEntName;

    /**
     * 订单号
     */
    @Schema(description = "订单号")
    private String orderNo;

    /**
     * 操作 1-预付 2-支付
     */
    @Schema(description = "操作 1-预付 2-支付")
    private Integer action;

    /**
     * 申请金额
     */
    @Schema(description = "申请金额")
    private BigDecimal applyAmount;

    /**
     * 支付金额
     */
    @Schema(description = "支付金额")
    private BigDecimal payAmount;

    @Schema(description = "凭证")
    private String img;

    /**
     * 状态 1-成功 2-失败
     */
    @Schema(description = "状态 1-成功 2-失败")
    private Integer status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private Long createBy;

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

    /**
     * 更新人
     */
    @Schema(description = "更新人")
    private Long updateBy;

    /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    /**
     * 0-正常 1-删除
     */
    @Schema(description = "0-正常 1-删除")
    private Integer delFlag;
}
