All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.foodtechlab.lib.auth.service.domain.role.entity.RoleEntity Maven / Gradle / Ivy

There is a newer version: 4.1.0
Show newest version
package ru.foodtechlab.lib.auth.service.domain.role.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import ru.foodtechlab.abe.domain.entities.BaseDeleteEntity;
import ru.foodtechlab.lib.auth.service.domain.roleAccess.entity.RoleAccessEntity;

import java.util.ArrayList;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@EqualsAndHashCode(callSuper = true)
public class RoleEntity extends BaseDeleteEntity {
    private String name;
    /**
     * Наименование роли
     */
    private String code;
    private List accesses = new ArrayList<>();
    private boolean isRegistrationAllowed = true;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy