package com.crm.rely.backend.model.pojo.table;

import com.crm.rely.backend.core.pojo.BaseTable;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 汇率
 *
 * @author Administrator
 */
@Data
@Entity
@Table(name = "finance_rate")
public class FinanceRateTable extends BaseTable {

    private Integer type;

    /**
     * 汇率
     */
    private BigDecimal rate;

    /**
     * 货币类型
     */
    private String currency;

    /**
     * 转化后的货币类型
     */
    private String transformCurrency;

}
