| | |
| | | @DiffLogField(name = "合同金额") |
| | | private BigDecimal totalPrice; |
| | | |
| | | @Schema(description = "定金金额,单位:元", example = "1000.00") |
| | | @DiffLogField(name = "定金金额") |
| | | private BigDecimal depositPrice; |
| | | |
| | | @Schema(description = "客户签约人编号", example = "18546") |
| | | @DiffLogField(name = "客户签约人", function = CrmContactParseFunction.NAME) |
| | | private Long signContactId; |
| | |
| | | @DiffLogField(name = "备注") |
| | | private String remark; |
| | | |
| | | @Schema(description = "合同类型(power/energy/resident/solar)", example = "power") |
| | | @DiffLogField(name = "合同类型") |
| | | private String contractType; |
| | | |
| | | @Schema(description = "电压等级", example = "10kV") |
| | | private String voltageLevel; |
| | | |
| | | @Schema(description = "用电类型", example = "industrial") |
| | | private String electricityType; |
| | | |
| | | @Schema(description = "合同容量(kVA)", example = "800") |
| | | private BigDecimal contractCapacity; |
| | | |
| | | @Schema(description = "电价模式", example = "two-part") |
| | | private String tariffMode; |
| | | |
| | | @Schema(description = "计量方式", example = "high-high") |
| | | private String meterMode; |
| | | |
| | | @Schema(description = "缴费周期(月)", example = "12") |
| | | private Integer payCycle; |
| | | |
| | | @Schema(description = "产品列表") |
| | | private List<Product> products; |
| | | |
| | |
| | | @AllArgsConstructor |
| | | public static class Product { |
| | | |
| | | @Schema(description = "产品编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20529") |
| | | @NotNull(message = "产品编号不能为空") |
| | | private Long productId; |
| | | @Schema(description = "MDM 物料编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "20529") |
| | | @NotNull(message = "物料编号不能为空") |
| | | private Long itemId; |
| | | |
| | | @Schema(description = "产品单价", requiredMode = Schema.RequiredMode.REQUIRED, example = "123.00") |
| | | @NotNull(message = "产品单价不能为空") |
| | | private BigDecimal productPrice; |
| | | @Schema(description = "物料原价", requiredMode = Schema.RequiredMode.REQUIRED, example = "123.00") |
| | | @NotNull(message = "物料原价不能为空") |
| | | private BigDecimal itemPrice; |
| | | |
| | | @Schema(description = "合同价格", requiredMode = Schema.RequiredMode.REQUIRED, example = "123.00") |
| | | @NotNull(message = "合同价格不能为空") |