package cn.iocoder.byzs.module.bjdx.controller.admin.questionnaire.vo;

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

@Schema(description = "管理后台 - 问卷新增/修改 Request VO")
@Data
public class QuestionnaireSaveReqVO {

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

    @Schema(description = "问卷名称", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "问卷名称不能为空")
    private String bqQuestionnaire;

    @Schema(description = "问卷介绍")
    private String bqDetails;

    @Schema(description = "问卷排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "问卷排序不能为空")
    private Integer bqOrder;

    @Schema(description = "问卷开始指导语")
    private String bqStartInfo;

    @Schema(description = "问卷结束指导语")
    private String bqEndInfo;

    @Schema(description = "问题id集")
    private String bqQuestIds;

}