<commit_before>package eu.bcvsolutions.idm.core.api.dto;

import eu.bcvsolutions.idm.core.api.domain.Embedded;
import eu.bcvsolutions.idm.core.api.entity.ValidableEntity;
import org.joda.time.LocalDate;

import java.util.UUID;

/**
 * IdentityRole from WF
 *
 * @author svanda
 * @author <NAME>
 */
public class IdmIdentityRoleDto extends AbstractDto implements ValidableEntity{

    private static final long serialVersionUID = 1L;
    @Embedded(dtoClass = IdmIdentityContractDto.class)
    private UUID identityContract;
    @Embedded(dtoClass = IdmRoleDto.class)
    private UUID role;
    private LocalDate validFrom;<commit_msg>Hot fix - Identity roles not show<commit_after>package eu.bcvsolutions.idm.core.api.dto;

import eu.bcvsolutions.idm.core.api.domain.Embedded;
import eu.bcvsolutions.idm.core.api.entity.ValidableEntity;
import org.joda.time.LocalDate;
import org.springframework.hateoas.core.Relation;

import java.util.UUID;

/**
 * IdentityRole DTO
 *
 * @author svanda
 * @author <NAME>
 */
@Relation(collectionRelation = "identityRoles")
public class IdmIdentityRoleDto extends AbstractDto implements ValidableEntity{

    private static final long serialVersionUID = 1L;
    @Embedded(dtoClass = IdmIdentityContractDto.class)
    private UUID identityContract;
    @Embedded(dtoClass = IdmRoleDto.class)
    private UUID role;
    private LocalDate validFrom;
{'fraction_non_alphanumeric': 0.09420289855072464, 'fraction_numerical': 0.0014492753623188406, 'mean_word_length': 4.851694915254237, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2775792', 'n_tokens_mistral': 450, 'n_tokens_neox': 448, 'n_words': 93}