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;
import java.util.List;

@Data
@ApiModel(value="绑定", description="绑定")
public class BusinessFeatureBindingDTO {

    @NotNull(message = "业务id不能为空")
    @ApiModelProperty(name = "businessId", value = "业务id")
    private Long businessId;
    @NotNull(message = "功能点id不能为空")
    @ApiModelProperty(name="featureIdList",value = "功能点id")
    private List<Long> featureIdList;

    @ApiModelProperty(name="remark",value = "备注说明")
    private String remark;
}
