package com.yc.ship.module.miniapplet.controller.admin.catalogue.vo;

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


@Schema(description = "管理后台 - 目录类型新增/修改 Request VO")
@Data
public class CatalogueSaveReqVO {

    @Schema(description = "目录类型主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27482")
    private Long id;

    @Schema(description = "目录名称", example = "芋艿")
    private String name;

    @Schema(description = "目录编码")
    private String code;


    @Schema(description = "父级目录", example = "5315")
    private Long parentId;

    @Schema(description = "目录Icon图标")
    private String logo;

    @Schema(description = "图片地址")
    private String imgUrl;


    @Schema(description = "启用状态 0否 1是")
    private Integer isUse;

    @Schema(description = "是否允许评论 0否 1是")
    private Integer isComment;

    @Schema(description = "允许用户发布 0否 1是")
    private Integer isRelease;

    @Schema(description = "用户发布审核 0否 1是")
    private Integer isAudit;

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

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "排序号")
    private Integer sortNum;
}
