package com.platform2easy.genesis.domain.model.cerc;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Entity
@Getter
@Setter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public class ParcelaCpr {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @EqualsAndHashCode.Include
    private Integer id;

    private Integer numeroParcela;
    private String codigoControleParcelaContratoIf;
    private String dataVencimentoParcela;
    private BigDecimal precoCessaoParcela;
    private Integer status;
    private BigDecimal valorParcela;
    private BigDecimal valorPrincipalParcela;
}