ru.foodtechlab.lib.auth.service.domain.role.entity.RoleEntity Maven / Gradle / Ivy
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