package com.loan.system.domain.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.time.Instant;

@Entity
@Table(name = "stat_fund_efficiency")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StatFundEfficiency extends BaseEntity{
    private static final long serialVersionUID = 21L;

    @Column(name = "stat_month", length = 7)
    private String statMonth;

    @Column(name = "daily_loan_balance", precision = 15, scale = 2)
    private BigDecimal dailyLoanBalance;

    @Column(name = "actual_days")
    private Integer actualDays;

    @Column(name = "interest_income", precision = 15, scale = 2)
    private BigDecimal interestIncome;

    @Column(name = "create_time")
    private String createTime;

    @Column(name = "is_delete")
    private Boolean isDelete;

}