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 = "disbursement_record")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DisbursementRecord extends BaseEntity{
    private static final long serialVersionUID = 15L;

    @Column(name = "disbursement_id")
    private Long disbursementId;

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

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

    @Column(name ="disbursement_location" ,length = 255)
    private String disbursementLocation;

    @Column(name ="disbursement_account" ,length = 20)
    private String disbursementAccount;

    @Column(name ="disbursement_bank" ,length = 255)
    private String disbursementBank;


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

}