package com.crm.rely.backend.core.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;
import java.util.Date;

@Data
@Entity
@Table(name = "custom_activity_interest_rate_daily_record")
public class CustomActivityInterestRateDailyRecordTable extends BaseTable {

    private Long customId; // 客户ID

    private Long cId; // 其他ID（c_id）

    private BigDecimal balance; // 余额
    private String name;
    private Long agentId;

    private Integer lastMonthTradeNumber; // 上月交易次数

    private BigDecimal interestRate; // 利息率

    private BigDecimal interestRateAmount; // 利息金额

    private BigDecimal interestRateExtra; // 额外利息率

    private BigDecimal interestRateExtraAmount; // 额外利息金额

    private Date calculateDate; // 计算的日期

}