package cn.axzo.workflow.common.model.request.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

@ApiModel("业务分类分组和变量搜索入参模型")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CategoryGroupVarSearchDto {

    @Min(value = 1, message = "字典ID必须大于0")
    @ApiModelProperty(value = "字典 ID")
    private Long dictId;

    /**
     * 所属业务code
     */
    @ApiModelProperty(value = "所属业务")
    private String category;
}
