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

import com.baomidou.mybatisplus.annotation.TableField;
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 ListVo {
    /**
     * 主键
     */
    @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;

    /**
     * 提现金额
     */
    @TableField(value = "cash_amount")
    @Schema(description = "提现金额")
    private BigDecimal cashAmount;

    /**
     * 预付余额
     */
    @TableField(value = "prepay_amount")
    @Schema(description = "预付余额")
    private BigDecimal prepayAmount;

    /**
     * 交易中金额
     */
    @TableField(value = "dealing_amount")
    @Schema(description = "交易中金额")
    private BigDecimal dealingAmount;

    /**
     * 运费金额
     */
    @TableField(value = "freight_amount")
    @Schema(description = "运费金额")
    private BigDecimal freightAmount;

    /**
     * 进行中金额
     */
    @TableField(value = "processing_amount")
    @Schema(description = "进行中金额")
    private BigDecimal processingAmount;

    /**
     * 付款中金额
     */
    @TableField(value = "paying_amount")
    @Schema(description = "付款中金额")
    private BigDecimal payingAmount;

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

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

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

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

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

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