package org.lingniu.sdk.model.user;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Set;

@Data
@JsonIgnoreProperties(ignoreUnknown = true)
@NoArgsConstructor
public class DataPermission {
    /** 允许全部*/
    private boolean allowAll;
    /**仅自己*/
    private boolean onlySelf;
    /**部门列表*/
    private Set<String> deptList;
    /**地区*/
    private Set<String> areas;

}
