| | |
| | | @DiffLogField(name = "负责人", function = SysAdminUserParseFunction.NAME) |
| | | private Long ownerUserId; |
| | | |
| | | @Schema(description = "商机状态组编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "25714") |
| | | @Schema(description = "商机状态组编号(非必填:未选择时不带默认阶段,也不参与状态组统计)", example = "25714") |
| | | @DiffLogField(name = "商机状态组") |
| | | @NotNull(message = "商机状态组不能为空") |
| | | private Long statusTypeId; |
| | | |
| | | @Schema(description = "预计成交日期") |
| | |
| | | @DiffLogField(name = "整单折扣") |
| | | @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 = "备注") |
| | |
| | | @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; |
| | | |
| | | } |
| | | |
| | | } |