| | |
| | | |
| | | import cn.idev.excel.annotation.ExcelIgnoreUnannotated; |
| | | import cn.idev.excel.annotation.ExcelProperty; |
| | | import cn.iocoder.yudao.module.system.api.storage.dto.StorageBlobRespDTO; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import lombok.Data; |
| | |
| | | |
| | | @Schema(description = "客户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1724") |
| | | private Long customerId; |
| | | @Schema(description = "客户名称", example = "芋道") |
| | | @Schema(description = "客户名称", example = "超级管理员") |
| | | @ExcelProperty("客户名称") |
| | | private String customerName; |
| | | |
| | |
| | | @ExcelProperty("备注") |
| | | private String remark; |
| | | |
| | | @Schema(description = "创建人", example = "芋道") |
| | | @Schema(description = "附件列表") |
| | | private List<StorageBlobRespDTO> attachmentList; |
| | | |
| | | @Schema(description = "创建人", example = "超级管理员") |
| | | private String creator; |
| | | @Schema(description = "创建人名称", example = "芋道") |
| | | @Schema(description = "创建人名称", example = "超级管理员") |
| | | private String creatorName; |
| | | |
| | | @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED) |
| | |
| | | @Schema(description = "关联的 MPS 编号", example = "1024") |
| | | private Long mpsId; |
| | | |
| | | // ========== 出库批号 ========== |
| | | |
| | | @Schema(description = "出库批号", example = "B2026001、B2026002") |
| | | private String batchCode; |
| | | |
| | | // ========== 关联字段 ========== |
| | | |
| | | @Schema(description = "产品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "巧克力") |
| | |
| | | @Schema(description = "库存数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100.00") |
| | | private BigDecimal stockCount; // 该字段仅仅在详情和编辑时使用 |
| | | |
| | | @Schema(description = "规格型号", requiredMode = Schema.RequiredMode.REQUIRED, example = "-") |
| | | private String productSpecification; |
| | | |
| | | } |
| | | |
| | | } |