Commit ca87f139 authored by wei's avatar wei 🎱

DxContextExpand增加合同编码,备注属性

parent 978274ad
......@@ -19,7 +19,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-POExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-10-22 13:49:42
* @date: 2024-10-28 10:59:10
**/
@ToString
@Embeddable
......@@ -44,6 +44,14 @@ public class DxContextExpand implements Serializable{
*/
private Integer budgetAmount;
/**
* 合同编码
*/
private String contractCode;
/**
* 合同编码说明
*/
private String contractCodeExplanation;
/**
* 客户单位
*/
private String customUnit;
......
......@@ -14,7 +14,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-扩展PO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-10-22 13:49:42
* @date: 2024-10-28 10:59:10
**/
public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHolder{
......@@ -22,6 +22,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
void setDxContextExpand(DxContextExpand dxContextExpand);
default String getContractCode() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getContractCode();
}
default Integer getBudgetAmount() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getBudgetAmount();
}
......@@ -34,6 +37,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default void setCustomUnit(String customUnit) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setCustomUnit(customUnit);
}
default void setContractCodeExplanation(String contractCodeExplanation) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setContractCodeExplanation(contractCodeExplanation);
}
default void setBudgetAmount(Integer budgetAmount) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setBudgetAmount(budgetAmount);
}
......@@ -52,6 +58,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
}
default void setEndTime(LocalDateTime endTime) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setEndTime(endTime);
}
default void setContractCode(String contractCode) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setContractCode(contractCode);
}
@Override
default void setDxSecretEmbeddable(DxSecretEmbeddable dxSecretEmbeddable) {
......@@ -114,6 +123,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default String getProType() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getProType();
}
default String getContractCodeExplanation() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getContractCodeExplanation();
}
// @Override
default void setDxObjFileLinkEmbeddable(DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setDxObjFileLinkEmbeddable(dxObjFileLinkEmbeddable);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment