package jnpf.model.tempmodule.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 滚动图dto
 *
 * @author yanwenfu
 * @create 2025-05-06
 */
@Getter
@Setter
public class RollImageDto {

    /** 图片地址 */
    @NotEmpty(message = "请上传图片")
    private String imageUrl;

    /**
     * banner类型0app1pc
     */
    @NotNull(message = "请选择banner类型")
    private Integer bannerType;

}
