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.List;

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

    @NotNull(message = "主表的主键id不能为空")
    @ChineseDescription("主表的主键id")
    private String primaryKeyId;

    @NotNull(message = "表单定义id集合不能为空")
    @ChineseDescription("表单定义id集合")
    private List<Long> formDefinitionIdList;

}
