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

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 BusinessSaveRequest extends BaseRequest {

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

    @NotNull(message = "表单的详情信息不能为空")
    @ChineseDescription("表单的详情信息")
    private Map<String, Map<String, Object>> formDetail;

}
