package cn.ey.biz.module.system.controller.admin.field.vo;

import lombok.*;
import io.swagger.annotations.*;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@ApiModel("管理后台 - 字段条目创建 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FieldItemCreateReqVO extends FieldItemBaseVO {

    @ApiModelProperty(value = "字段条目")
    @NotNull(message = "字段条目不能为空")
    @Valid
    @Size(max = 1000, message = "fieldItems 最大1000条")
    private List<FieldItemRespVO> fieldItems;
}
