package cn.axzo.workflow.common.model.request.form.definition;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 表单定义的更新入参模型
 *
 * @author wangli
 * @since 2023/7/25 14:21
 */
@ApiModel("表单定义的更新入参模型")
@Data
public class FormDefinitionUpdateDTO {

    @ApiModelProperty("表单模型ID")
    @NotBlank(message = "表单模型 ID 不能为空")
    public String formModelId;

    @ApiModelProperty(value = "表单定义内容")
    private FormDefinitionDTO formDefinition;

    @NotBlank(message = "租户不能为空")
    private String tenantId;

}
