package com.xindazhou.vehicle.controller.admin.vehicle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 使用指南保存 Request VO
 *
 * @author xindazhou
 */
@Schema(description = "管理后台 - 使用指南保存 Request VO")
@Data
public class VehicleGuideSaveReqVO {

    @Schema(description = "ID", example = "1")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "使用指南")
    @NotBlank(message = "标题不能为空")
    private String title;

    @Schema(description = "车型", example = "model1")
    private String model;

    @Schema(description = "分类", example = "guide")
    private String category;

    @Schema(description = "内容", example = "文章内容")
    private String content;

    @Schema(description = "是否显示：0-不显示，1-显示", example = "1")
    private Integer isDisplay;

    @Schema(description = "状态：0-未上架，1-已上架", example = "0")
    private Integer status;

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

}

