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;
import java.util.List;

//todo @Entity
@Getter
@Setter
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public class Area {
    //todo @Id
    //todo @GeneratedValue(strategy = GenerationType.IDENTITY)
    @EqualsAndHashCode.Include
    private Long id;

    private BigDecimal areaTotal;
    private String cartorio;
    private String cep;
    private String endereco;
    private String fracaoUnitariaImovel;
    private BigDecimal latitude;
    private BigDecimal longitude;
    private String matricula;
    private String nomeFazenda;
    private List<Produto> produtos;
    private String proprietario;
    private BigDecimal reservaLegal;
    private Boolean status;
}