package io.gmss.fiscad.paylaods.response.FicheResponse;

import io.gmss.fiscad.entities.infocad.metier.Piece;
import io.gmss.fiscad.entities.infocad.parametre.Personne;
import io.gmss.fiscad.entities.infocad.parametre.PositionRepresentation;
import io.gmss.fiscad.entities.infocad.parametre.TypeContestation;
import io.gmss.fiscad.entities.infocad.parametre.TypeRepresentation;
import io.gmss.fiscad.enums.RoleActeur;
import io.gmss.fiscad.enums.TypeDroit;
import jakarta.persistence.EnumType;
import jakarta.persistence.Enumerated;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Data
@Getter
@Setter
public class FicheActeurConcerneResponse {
    private Long id;
    private String observation;
    @Enumerated(EnumType.STRING)
    private TypeDroit typeDroit;
    private float part;
    private TypeRepresentation typeRepresentation;
    private PositionRepresentation positionRepresentation;
    private Personne personne;
    private TypeContestation typeContestation;
    @Enumerated(EnumType.STRING)
    private RoleActeur roleActeur;
    //@OneToMany(mappedBy = "acteurConcerne")
    private List<Piece> pieces;
    private boolean synchronise;
    //////////////////////////////
    private Long blocId;
    private int haveDeclarant;
    private Long max_numero_acteur_concerne_id;
}
