| | |
| | | @NotNull(message = "整单折扣不能为空") |
| | | private BigDecimal discountPercent; |
| | | |
| | | @Schema(description = "产品总价", example = "12000.00") |
| | | private BigDecimal totalProductPrice; |
| | | |
| | | @Schema(description = "商机总价(折后)", example = "11280.00") |
| | | private BigDecimal totalPrice; |
| | | |
| | | @Schema(description = "备注", example = "随便") |
| | | @DiffLogField(name = "备注") |
| | | private String remark; |
| | |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | public static class BusinessProduct { |
| | | |
| | | @Schema(description = "产品关联编号", example = "5") |
| | | private Long id; |
| | | |
| | | @Schema(description = "MDM 物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20529") |
| | | @NotNull(message = "物料编号不能为空") |
| | |
| | | @NotNull(message = "数量不能为空") |
| | | private BigDecimal count; |
| | | |
| | | @Schema(description = "总计价格(businessPrice * count)", example = "12000.00") |
| | | private BigDecimal totalPrice; |
| | | |
| | | } |
| | | |
| | | } |