package com.sckw.payment.api.model.feign;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 余额冻结参数
 *
 * @author tangyishan
 * @since 2026-03-06  08:46
 */
@Data
public class WalletPrepaidDto {
    //采购商企业id
    @Schema(description = "采购商企业id")
    private Long proEntId;
    //供应商id
    @Schema(description = "供应商企业id")
    private Long supEntId;
    //关联订单编号
    @Schema(description = "关联订单编号")
    private String orderNo;

    /** 订单类型 2-预付订单  4-贸易订单 */
    @Schema(description = "订单类型 2-预付订单  4-贸易订单")
    private Integer orderType;


    /** 交易类型 2-预付 3-收益 4-冻结 5-解冻 6-消费 9-人工录入 */
    @NotNull(message = "交易类型不能为空")
    @Schema(description = "交易类型 2-预付 3-收益 4-冻结 5-解冻 6-消费 9-人工录入")
    private Integer tradeType;

    //交易金额
    @Schema(description = "交易金额")
    private BigDecimal tradeAmount;

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