package com.yuchen.saas.manage.system.api.dto;

import com.yuchen.saas.manage.system.api.entity.Role;
import com.yuchen.saas.manage.system.api.vo.RoleBusinessScopeVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;


@Data
@EqualsAndHashCode(callSuper = true)
public class RoleV1DTO extends Role {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "功能ID集合,如果featureScopeType不为1：全部，则需传")
    private List<Long> featureIds;

    @ApiModelProperty(value = "业务id集合，功能ID集合,如果businessScopeType不为1：全部，则需传")
    private List<RoleBusinessScopeVO> businessScopeIds;


    @ApiModelProperty(value = "组织id集合，deptScopeType 不为1：全部，2，所在部门及下级部门，")
    private List<Long> deptIds;

}
