package com.xdap.self_development.controller.form;

import lombok.Data;

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

@Data
public class ChartCommonParameterUpdateForm {
    @NotBlank(message = "常用名不能为空")
    private String commonName;
    @NotEmpty(message = "图表列表不能为空")
    private List<ChartCommonItem> charts;
    @NotBlank(message = "用户ID不能为空")
    private String userId;
    @NotBlank(message = "常用ID不能为空")
    private String commonId;
}
