package com.purui.prims.headless.api.pojo.request;

import com.purui.prims.headless.api.pojo.DataItemInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel(value = "业务限定Req")
public class BizConditionReq extends DataItemInfo {

    @ApiModelProperty(value = "主题域ID")
    private Long domainId;

    @ApiModelProperty(value = "模型ID")
    private Long modelId;
    /**
     * 业务限定表达式
     */
    @ApiModelProperty(value = "业务限定表达式")
    private String defaultConfig;

    @ApiModelProperty(value = "业务限定过滤条件")
    List<QueryFilter> filters = new ArrayList<>();
}
