Commit ca87f139 authored by wei's avatar wei 🎱

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

parent 978274ad
...@@ -19,7 +19,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable; ...@@ -19,7 +19,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-POExpand扩展实体 * @description: DxContext-POExpand扩展实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-10-22 13:49:42 * @date: 2024-10-28 10:59:10
**/ **/
@ToString @ToString
@Embeddable @Embeddable
...@@ -44,6 +44,14 @@ public class DxContextExpand implements Serializable{ ...@@ -44,6 +44,14 @@ public class DxContextExpand implements Serializable{
*/ */
private Integer budgetAmount; private Integer budgetAmount;
/** /**
* 合同编码
*/
private String contractCode;
/**
* 合同编码说明
*/
private String contractCodeExplanation;
/**
* 客户单位 * 客户单位
*/ */
private String customUnit; private String customUnit;
......
...@@ -14,7 +14,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable; ...@@ -14,7 +14,7 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
* @description: DxContext-扩展PO插件接口 * @description: DxContext-扩展PO插件接口
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-10-22 13:49:42 * @date: 2024-10-28 10:59:10
**/ **/
public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHolder{ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHolder{
...@@ -22,6 +22,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold ...@@ -22,6 +22,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
void setDxContextExpand(DxContextExpand dxContextExpand); void setDxContextExpand(DxContextExpand dxContextExpand);
default String getContractCode() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getContractCode();
}
default Integer getBudgetAmount() { default Integer getBudgetAmount() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getBudgetAmount(); return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).getBudgetAmount();
} }
...@@ -34,6 +37,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold ...@@ -34,6 +37,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default void setCustomUnit(String customUnit) { default void setCustomUnit(String customUnit) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setCustomUnit(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) { default void setBudgetAmount(Integer budgetAmount) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setBudgetAmount(budgetAmount); DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setBudgetAmount(budgetAmount);
} }
...@@ -52,6 +58,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold ...@@ -52,6 +58,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
} }
default void setEndTime(LocalDateTime endTime) { default void setEndTime(LocalDateTime endTime) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setEndTime(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 @Override
default void setDxSecretEmbeddable(DxSecretEmbeddable dxSecretEmbeddable) { default void setDxSecretEmbeddable(DxSecretEmbeddable dxSecretEmbeddable) {
...@@ -114,6 +123,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold ...@@ -114,6 +123,9 @@ public interface DxContextPluginExpand extends DxObjFileLinkHolder ,DxSecretHold
default String getProType() { default String getProType() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).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 // @Override
default void setDxObjFileLinkEmbeddable(DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable) { default void setDxObjFileLinkEmbeddable(DxObjFileLinkEmbeddable dxObjFileLinkEmbeddable) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextExpand()).setDxObjFileLinkEmbeddable(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