| | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Positive; |
| | | import jakarta.validation.constraints.Size; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | |
| | | @Schema(description = "批次号(新建批次时传入,系统自动创建批次记录)", example = "BATCH001") |
| | | private String batchCode; |
| | | |
| | | @Schema(description = "盘号(新建批次时手工填写)", example = "PHCS") |
| | | @Size(max = 128, message = "盘号不能超过128个字符") |
| | | private String reelNo; |
| | | |
| | | @Schema(description = "生产日期(新建批次时传入)", example = "2025-01-01") |
| | | @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY) |
| | | @JsonFormat(pattern = FORMAT_YEAR_MONTH_DAY) |
| | |
| | | @Schema(description = "原因", example = "盘点调整") |
| | | private String reason; |
| | | |
| | | } |
| | | } |