Commit 978274ad authored by wei's avatar wei 🎱

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

parent 6a9ef2aa
......@@ -25,7 +25,7 @@ import com.yonde.dex.user.common.vo.DxOrganizationVO;
* @description: DxContext-VOExpand扩展实体
* @author: dexadmin
* @version: V
* @date: 2024-10-22 13:49:42
* @date: 2024-10-28 10:59:10
**/
@EqualsAndHashCode
@Data
......@@ -34,6 +34,8 @@ public class DxContextVOExpand<V extends DxContextVOPluginExpand> implements Ser
public static final String DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME = "dxObjFileLinkEmbeddable";
public static final String DX_SECRET_EMBEDDABLE_PROP_NAME = "dxSecretEmbeddable";
public static final String BUDGET_AMOUNT_PROP_NAME = "budgetAmount";
public static final String CONTRACT_CODE_PROP_NAME = "contractCode";
public static final String CONTRACT_CODE_EXPLANATION_PROP_NAME = "contractCodeExplanation";
public static final String CUSTOM_UNIT_PROP_NAME = "customUnit";
public static final String END_TIME_PROP_NAME = "endTime";
public static final String EXT_PROGRAM_PROJECT_LINKS_PROP_NAME = "extProgramProjectLinks";
......@@ -72,6 +74,16 @@ public class DxContextVOExpand<V extends DxContextVOPluginExpand> implements Ser
*/
private Integer budgetAmount;
/**
* 合同编码
*/
private String contractCode;
/**
* 合同编码说明
*/
private String contractCodeExplanation;
/**
* 客户单位
*/
......
......@@ -19,7 +19,7 @@ import com.yonde.dex.user.common.vo.DxUserInfoVO;
* @description: DxContext-扩展VO插件接口
* @author: dexadmin
* @version: V
* @date: 2024-10-22 13:49:42
* @date: 2024-10-28 10:59:10
**/
public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> extends DxObjFileLinkVOHolder ,DxSecretVOHolder{
......@@ -27,6 +27,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
void setDxContextExpand(DxContextVOExpand<V> dxContextExpand);
default String getContractCode() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).getContractCode();
}
default Integer getBudgetAmount() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).getBudgetAmount();
}
......@@ -39,6 +42,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
default void setCustomUnit(String customUnit) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).setCustomUnit(customUnit);
}
default void setContractCodeExplanation(String contractCodeExplanation) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).setContractCodeExplanation(contractCodeExplanation);
}
default void setBudgetAmount(Integer budgetAmount) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).setBudgetAmount(budgetAmount);
}
......@@ -61,6 +67,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
default void setEndTime(LocalDateTime endTime) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).setEndTime(endTime);
}
default void setContractCode(String contractCode) {
DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).setContractCode(contractCode);
}
default DxUserInfoVO getManager() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).getManager();
}
......@@ -147,6 +156,9 @@ public interface DxContextVOPluginExpand<V extends DxContextVOPluginExpand> exte
default String getProType() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).getProType();
}
default String getContractCodeExplanation() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).getContractCodeExplanation();
}
default LocalDateTime getEndTime() {
return DxExpandUtils.getNotNullObject(this::getDxContextExpand,this::setDxContextExpand,new DxContextVOExpand<>()).getEndTime();
}
......
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