| | |
| | | @NotEmpty(message = "工单主题不能为空") |
| | | private String name; |
| | | |
| | | @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "客户不能为空") |
| | | @Schema(description = "客户编号", example = "1") |
| | | private Long customerId; |
| | | |
| | | @Schema(description = "客户名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "某某公司") |
| | | @NotEmpty(message = "客户不能为空") |
| | | private String customerName; |
| | | |
| | | @Schema(description = "联系人编号", example = "1") |
| | | private Long contactId; |
| | | |
| | | @Schema(description = "联系人", example = "李四") |
| | | private String contactName; |
| | | |
| | | @Schema(description = "销售订单编号", example = "1") |
| | | private Long saleOrderId; |
| | |
| | | |
| | | @Schema(description = "合同编号", example = "1") |
| | | private Long contractId; |
| | | |
| | | @Schema(description = "处理人用户编号(可选,仅草稿态有效;处理人分配建议走 assign 接口)", example = "2") |
| | | private Long handlerUserId; |
| | | |
| | | @Schema(description = "问题类型: 1-一般问题 2-维修问题 3-退货问题", example = "1") |
| | | private Integer issueType; |
| | |
| | | @Schema(description = "销售订单行编号", example = "1") |
| | | private Long saleOrderItemId; |
| | | |
| | | @Schema(description = "MDM物料编号", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "物料不能为空") |
| | | @Schema(description = "MDM物料编号", example = "1") |
| | | private Long itemId; |
| | | |
| | | @Schema(description = "物料编码", example = "MAT-001") |
| | | private String itemCode; |
| | | |
| | | @Schema(description = "物料名称", example = "电子元器件") |
| | | @Schema(description = "物料名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "电子元器件") |
| | | @NotEmpty(message = "物料不能为空") |
| | | private String itemName; |
| | | |
| | | @Schema(description = "生产批次编号", example = "1") |
| | |
| | | @Schema(description = "是否需要退货", example = "true") |
| | | private Boolean needReturn; |
| | | |
| | | @Schema(description = "部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "部门不能为空") |
| | | private Long deptId; |
| | | |
| | | @Schema(description = "原因类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "原因类型不能为空") |
| | | private Integer reasonType; |
| | | |
| | | @Schema(description = "具体原因", example = "产品表面有划痕") |
| | | private String reason; |
| | | |
| | | @Schema(description = "备注") |
| | | private String remark; |
| | | } |