package cn.stylefeng.team.project.api.pojo;

import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
import cn.stylefeng.roses.kernel.rule.pojo.request.BaseRequest;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;

@EqualsAndHashCode(callSuper = true)
@Data
public class BusinessSearchRequest extends BaseRequest {

    @NotNull(message = "业务id不能为空")
    @ChineseDescription("业务id")
    private Long businessId;

    @ChineseDescription("视图id")
    private Long viewId;

    @ChineseDescription("业务的查询参数")
    private Map<String, Object> businessSearchParams;

}
