package com.seer.teach.iot.admin.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;

/**
 *
 * <p>
 *
 * </p >
 *
 * @author Captain
 * @since 2025-09-18 14:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "保存广告图片请求实体类")
public class SaveAdvertisementReq {

    @Schema(description = "Url")
    @NotEmpty(message = "URL不可为空")
    private String url;

    @NotNull(message = "排序不可为空")
    private Integer sort;

}