package com.zhongshu.card.client.model.payment;

import com.zhongshu.card.client.type.payment.PicType;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PicUpModel extends BaseModel{

    @NotNull(message = "图片类型 不能为空")
    @Schema(description = "图片类型")
    private PicType picType;


    @NotEmpty(message = "图片链接")
    @Schema(description = "图片链接")
    private String fileUrl;
}
