package com.aiup.service.domain.query;

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

import javax.validation.constraints.NotNull;

@Data
public class CreateNodesQuery {
    @NotNull(message = "案例作品URL不能为空")
    @ApiModelProperty(value = "案例作品URL")
    private String postUrl;
    @ApiModelProperty(value = "案例作品URL")
    private String localContent;

    @NotNull(message = "条数不能为空")
    @ApiModelProperty(value = "条数")
    private Integer count;
    @NotNull(message = "模板不能为空")
    @ApiModelProperty(value = "模板ID")
    private Integer templateId;

}
