package com.cy.guoyan.admin.module.guoyan.controller.admin.banner.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 横幅新增/修改 Request VO")
@Data
public class BannerSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "21")
    private Long id;

    @Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "名字不能为空")
    private String title;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内容不能为空")
    private String content;

}