package com.xxfc.platform.order.pojo.account;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class OrderAccountDeduction {

    public static final int ORIGIN_ORDER = 1;
    public static final int ORIGIN_DEPOSIT = 2;
    public static final int ORIGIN_ORDER_DEPOSIT = 3;
    public static final int ORIGIN_DEPOSIT_ORDER = 4;

    /**
     * 名称
     */
    String name;

    /**
     * 类型
     */
    Integer type;

    /**
     * 来源 1--订单款  2--押金
     */
    Integer origin;

    /**
     * 金额
     */
    BigDecimal amount;
}
