计划管理相关功能实现
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
package com.zt.plat.module.contractorder.api.dto.contract;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Schema(description = "金额分配响应DTO")
|
||||
@Data
|
||||
public class AmountSplitRespDTO {
|
||||
@Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "17357")
|
||||
private Long id;
|
||||
|
||||
@Schema(description = "物料名称", example = "赵六")
|
||||
private String materialName;
|
||||
|
||||
@Schema(description = "物料编码")
|
||||
private String materialCode;
|
||||
|
||||
@Schema(description = "元素缩写")
|
||||
private String elementAbbreviation;
|
||||
|
||||
@Schema(description = "元素名称", example = "张三")
|
||||
private String elementName;
|
||||
|
||||
@Schema(description = "元素编码")
|
||||
private String elementCode;
|
||||
|
||||
@Schema(description = "占比")
|
||||
private BigDecimal ratio;
|
||||
|
||||
@Schema(description = "合同id", example = "3781")
|
||||
private Long contractId;
|
||||
}
|
||||
@@ -286,4 +286,7 @@ public class ContractRespDTO {
|
||||
|
||||
@Schema(description = "收发货规则")
|
||||
private List<ContractReceiveSendRespDTO> contractReceiveSends;
|
||||
|
||||
@Schema(description = "金额拆分")
|
||||
private List<AmountSplitRespDTO> amountSplits;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user