package com.ai.da.model.dto;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("ModifyModelProportionDTO")
public class ModifyModelProportionDTO {
    @ApiModelProperty("模特id")
    @NotNull(message = "model id cannot be empty")
    private Long id;

    @ApiModelProperty("Library || System")
    @NotBlank(message = "model type cannot be empty")
    private String type;

    @ApiModelProperty("top")
    @NotNull(message = "top cannot be empty")
    private Integer top;

    @ApiModelProperty("bottom")
    @NotNull(message = "bottom cannot be empty")
    private Integer bottom;

    @ApiModelProperty("stretch")
    @NotNull(message = "stretch cannot be empty")
    private Float stretch;

    @ApiModelProperty("模特minio地址")
    @NotBlank(message = "modelPath type cannot be empty")
    private String modelPath;

}
