| | |
| | | |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.NotNull; |
| | | import jakarta.validation.constraints.Size; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | |
| | | @Schema(description = "定金金额,单位:元", example = "7127") |
| | | private BigDecimal depositPrice; |
| | | |
| | | @Schema(description = "附件地址", example = "https://www.iocoder.cn") |
| | | private String fileUrl; |
| | | |
| | | @Schema(description = "备注", example = "你猜") |
| | | private String remark; |
| | | |
| | | @Schema(description = "附件 blobId 列表", example = "[1, 2, 3]") |
| | | private List<Long> blobIds; |
| | | |
| | | @Schema(description = "订单清单列表") |
| | | private List<Item> items; |
| | |
| | | @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113") |
| | | @NotNull(message = "产品编号不能为空") |
| | | private Long productId; |
| | | |
| | | @Schema(description = "销售产品明细手工录入的盘号") |
| | | @Size(max = 128, message = "盘号不能超过128个字符") |
| | | private String reelNo; |
| | | |
| | | @Schema(description = "产品单位单位", requiredMode = Schema.RequiredMode.REQUIRED, example = "3113") |
| | | @NotNull(message = "产品单位单位不能为空") |
| | |
| | | @Schema(description = "税率,百分比", example = "99.88") |
| | | private BigDecimal taxPercent; |
| | | |
| | | @Schema(description = "是否需要生产(0=否 1=是)", example = "1") |
| | | private Integer needProduction; |
| | | |
| | | @Schema(description = "备注", example = "随便") |
| | | private String remark; |
| | | |
| | | } |
| | | |
| | | } |
| | | } |