package com.sckw.product.model.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;


/**
 * @desc: 商品图片
 * @author: yzc
 * @date: 2023-07-03 8:39
 */
@Getter
@Setter
@ToString
public class GoodsImages {

    /**
     * 图片地址
     */
    @Schema(description = "图片地址")
    @NotBlank(message = "图片地址不能为空")
    private String image;

    /**
     * 图片排序
     */
    @Schema(description = "图片排序")
    @NotNull(message = "图片排序不能为空")
    private Integer sort;
}
