package com.xdap.self_development.controller.form;

import com.xdap.self_development.domain.view.ParameterItem;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
public class ModelCommonParameterUpdateForm {
    @NotBlank(message = "创建者不能为空")
    private String userId;
    @NotBlank(message = "常用不能为空")
    private String commonId;
    @NotEmpty(message = "参数不能为空")
    private List<ParameterItem> parameters;
}
