package com.njcn.rdms.module.system.controller.admin.feedback.vo;

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

@Schema(description = "管理后台 - 用户意见反馈提交 Request VO")
@Data
public class FeedbackSaveReqVO {

    @Schema(description = "反馈分类（字典 feedback_type）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "反馈分类不能为空")
    private Integer type;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "导出按钮点了没反应")
    @NotBlank(message = "标题不能为空")
    private String title;

    @Schema(description = "详细描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "详细描述不能为空")
    private String content;

    @Schema(description = "附件 URL 列表（JSON 数组字符串）", example = "[\"https://.../a.png\"]")
    private String attachmentUrls;

    @Schema(description = "联系方式", example = "微信 xxx")
    private String contact;

}
