package com.jwipc.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * SAP汇率
 * </p>
 *
 * @author ZhangJie
 * @since 2024-02-02
 */
@Getter
@Setter
@TableName("basis_exchange_rate")
public class ExchangeRate implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 当月初汇率类型
     */
    private String exchangeType;

    /**
     * 原币币种
     */
    private String originalCurrency;

    /**
     * 日期
     */
    private String monthDate;

    /**
     * 转换汇率
     */
    private String convertExchange;

    /**
     * 汇率
     */
    private BigDecimal exchange;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
