package cn.iocoder.yudao.module.aftersales.controller.admin.problem.vo; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotEmpty; import lombok.Data; import java.util.List; /** * 售后问题库 - 保存 Request VO */ @Schema(description = "售后问题库 - 保存 Request VO") @Data public class AfterSaleProblemSaveReqVO { @Schema(description = "问题编号", example = "1") private Long id; @Schema(description = "问题标题", requiredMode = Schema.RequiredMode.REQUIRED, example = "拉力机传感器无输出") @NotEmpty(message = "问题标题不能为空") private String title; @Schema(description = "来源工单编号(可选,便于追溯)", example = "1") private Long sourceTicketId; @Schema(description = "客户编号", example = "1") private Long customerId; @Schema(description = "物料编号", example = "1") private Long itemId; @Schema(description = "物料编码", example = "MAT-001") private String itemCode; @Schema(description = "物料名称", example = "电子元器件") private String itemName; @Schema(description = "生产批次编号", example = "1") private Long batchId; @Schema(description = "生产批次号", example = "BATCH-2024-001") private String batchCode; @Schema(description = "问题类型: 0-未判定 1-一般问题 2-维修问题 3-退货问题", example = "1") private Integer issueType; @Schema(description = "问题分类", example = "功能故障") private String issueCategory; @Schema(description = "严重程度: 0-轻微 1-一般 2-严重 3-致命", example = "2") private Integer severityLevel; @Schema(description = "问题描述") private String description; @Schema(description = "根因分类: 1-设计 2-物料 3-工艺 4-装配 5-运输 6-包装 7-使用 8-软件 9-其他", example = "3") private Integer rootCauseCategory; @Schema(description = "根因分析") private String rootCause; @Schema(description = "解决方案") private String solution; @Schema(description = "备注") private String remark; @Schema(description = "附件 blobId 列表") private List blobIds; }