package com.yc.ship.module.marketing.controller.admin.column.vo;

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

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 小程序-栏目管理新增/修改 Request VO")
@Data
public class ColumnSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30576")
    private String id;

    @Schema(description = "栏目标题", example = "王五")
    private String name;

    @Schema(description = "栏目副标题", example = "芋艿")
    private String subName;

    @Schema(description = "栏目类型", example = "1")
    private Integer type;

    @Schema(description = "是否栏目推荐")
    private Integer recommend;

    @Schema(description = "Icon图标")
    private String icon;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "背景图")
    private String bgPic;

    @Schema(description = "背景视频")
    private String bgVideo;

    @Schema(description = "外部链接")
    private String link;

    @Schema(description = "产品分组ID")
    private Long productCategoryId;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "状态不能为空")
    private Integer status;

}