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 = "repayment_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RepaymentRecord extends BaseEntity{
    private static final long serialVersionUID = 19L;
    @Column(name = "repayment_id")
    private Long repaymentId;

    @Column(name = "amount", precision = 18, scale = 2)
    private BigDecimal amount;

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

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

}