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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value="FeatureIdListDTO", description="FeatureIdListDTO")
public class FeatureIdListDTO {

    @ApiModelProperty(name = "featureGroupId", value = "分组id")
    private Long featureGroupId;
    @ApiModelProperty(name = "featureName", value = "功能名称")
    private String featureName;
    @ApiModelProperty(name = "featureCode", value = "功能编码")
    private String featureCode;
    /**
     * 功能类型
     */
    @ApiModelProperty(name = "featureType", value = "功能类型（1：业务功能，23：默认功能，4：平台管理）",required = true)
    @NotNull(message = "功能类型不能为空")
    private String featureType;

    /**
     * 是否权限分配（0：不可分配，1：可分配）
     */
    @ApiModelProperty(name = "permissionEnable", value = "是否权限分配（0：不可分配，1：可分配）",required = true)
    private String permissionEnable;

    /**
     * 应用id多个逗号隔开
     */
    @ApiModelProperty(name = "applyId", value = "应用id")
    private Long applyId;
}
