feat(proj): 优化项目管理模块实体类

-完善Project项目实体类和Requirement需求实体类
- 优化字段定义和业务逻辑
-增强项目管理功能
This commit is contained in:
zhangjf 2026-03-02 07:31:14 +08:00
parent d69c9b060e
commit 5425271f94
2 changed files with 9 additions and 9 deletions

View File

@ -14,7 +14,7 @@ public class Project extends BaseEntity {
private String projectCode;
private String projectName;
private Long customerId;
private String customerId;
private String customerName;
private String projectType;
private BigDecimal budgetAmount;
@ -39,11 +39,11 @@ public class Project extends BaseEntity {
this.projectName = projectName;
}
public Long getCustomerId() {
public String getCustomerId() {
return customerId;
}
public void setCustomerId(Long customerId) {
public void setCustomerId(String customerId) {
this.customerId = customerId;
}

View File

@ -23,10 +23,10 @@ public class Requirement extends BaseEntity {
private String description;
/** 项目ID */
private Long projectId;
private String projectId;
/** 客户ID */
private Long customerId;
private String customerId;
/** 优先级(high-高normal-中low-低) */
private String priority;
@ -91,19 +91,19 @@ public class Requirement extends BaseEntity {
this.description = description;
}
public Long getProjectId() {
public String getProjectId() {
return projectId;
}
public void setProjectId(Long projectId) {
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public Long getCustomerId() {
public String getCustomerId() {
return customerId;
}
public void setCustomerId(Long customerId) {
public void setCustomerId(String customerId) {
this.customerId = customerId;
}