Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dex-basic-service-expand
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
INET-TWO
server
dex-basic-service-expand
Commits
7578b617
Commit
7578b617
authored
Sep 11, 2024
by
wangyangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目群加名称字段
parent
657b1811
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
120 additions
and
93 deletions
+120
-93
ExtProgramVO.java
...main/java/com/yonde/dex/basic/common/vo/ExtProgramVO.java
+64
-51
ExtProgram.java
...c/main/java/com/yonde/dex/basic/entity/po/ExtProgram.java
+56
-42
No files found.
dex-basic-service-expand-common/src/main/java/com/yonde/dex/basic/common/vo/ExtProgramVO.java
View file @
7578b617
...
@@ -4,6 +4,7 @@ import javax.validation.constraints.NotBlank;
...
@@ -4,6 +4,7 @@ import javax.validation.constraints.NotBlank;
import
java.util.Date
;
import
java.util.Date
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
java.util.ArrayList
;
import
java.util.ArrayList
;
import
cn.hutool.core.convert.Convert
;
import
cn.hutool.core.convert.Convert
;
import
com.yonde.dex.basedata.entity.annotation.XmlElementProperty
;
import
com.yonde.dex.basedata.entity.annotation.XmlElementProperty
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
import
com.fasterxml.jackson.databind.annotation.JsonSerialize
;
...
@@ -12,16 +13,22 @@ import com.yonde.dex.user.common.vo.DxOrganizationVO;
...
@@ -12,16 +13,22 @@ import com.yonde.dex.user.common.vo.DxOrganizationVO;
import
com.yonde.dex.user.common.vo.DxUserInfoVO
;
import
com.yonde.dex.user.common.vo.DxUserInfoVO
;
import
lombok.ToString
;
import
lombok.ToString
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter
;
import
javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter
;
import
java.math.BigInteger
;
import
java.math.BigInteger
;
import
org.springframework.data.annotation.Transient
;
import
org.springframework.data.annotation.Transient
;
import
lombok.experimental.Delegate
;
import
lombok.experimental.Delegate
;
import
javax.xml.bind.annotation.*
;
import
javax.xml.bind.annotation.*
;
import
javax.xml.bind.annotation.XmlAttribute
;
import
javax.xml.bind.annotation.XmlAttribute
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
import
java.util.List
;
import
com.fasterxml.jackson.annotation.JsonTypeInfo
;
import
com.fasterxml.jackson.annotation.JsonTypeInfo
;
import
com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter
;
import
com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -44,16 +51,16 @@ import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbedda
...
@@ -44,16 +51,16 @@ import com.yonde.dex.dfs.objfilelink.plugin.common.entity.DxObjFileLinkVOEmbedda
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
import
com.yonde.dex.basedata.entity.users.DxUserVO
;
/**
/**
* @description: ExtProgram-VO
* @description: ExtProgram-VO
* @author: dexadmin
* @author: dexadmin
* @version: V
* @version: V
* @date: 2024-9-9 11:04:24
* @date: 2024-9-11 9:52:59
**/
**/
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtProgramVO
.
class
)
@JsonTypeInfo
(
use
=
JsonTypeInfo
.
Id
.
CLASS
,
property
=
"dxClassname"
,
visible
=
true
,
defaultImpl
=
ExtProgramVO
.
class
)
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
@Data
@ToString
(
callSuper
=
true
)
@ToString
(
callSuper
=
true
)
public
class
ExtProgramVO
extends
IdOnlyVO
implements
IdVO
,
DxLifecycleManageBaseVOHolder
,
DxObjFileLinkVOHolder
,
DxSecretVOHolder
{
public
class
ExtProgramVO
extends
IdOnlyVO
implements
IdVO
,
DxLifecycleManageBaseVOHolder
,
DxObjFileLinkVOHolder
,
DxSecretVOHolder
{
public
static
final
String
DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME
=
"dxObjFileLinkEmbeddable"
;
public
static
final
String
DX_OBJ_FILE_LINK_EMBEDDABLE_PROP_NAME
=
"dxObjFileLinkEmbeddable"
;
public
static
final
String
DX_LIFECYCLE_MANAGE_BASE_EMBEDDABLE_PROP_NAME
=
"dxLifecycleManageBaseEmbeddable"
;
public
static
final
String
DX_LIFECYCLE_MANAGE_BASE_EMBEDDABLE_PROP_NAME
=
"dxLifecycleManageBaseEmbeddable"
;
...
@@ -73,135 +80,141 @@ public class ExtProgramVO extends IdOnlyVO implements IdVO ,DxLifecycleManageBas
...
@@ -73,135 +80,141 @@ public class ExtProgramVO extends IdOnlyVO implements IdVO ,DxLifecycleManageBas
public
static
final
String
MANAGER_ORG_PROP_NAME
=
"managerOrg"
;
public
static
final
String
MANAGER_ORG_PROP_NAME
=
"managerOrg"
;
public
static
final
String
MANAGER_ORG_ID_PROP_NAME
=
"managerOrgId"
;
public
static
final
String
MANAGER_ORG_ID_PROP_NAME
=
"managerOrgId"
;
public
static
final
String
MANAGER_ORG_ID_TYPE_PROP_NAME
=
"managerOrgIdType"
;
public
static
final
String
MANAGER_ORG_ID_TYPE_PROP_NAME
=
"managerOrgIdType"
;
public
static
final
String
NAME_PROP_NAME
=
"name"
;
public
static
final
String
NUMBER_PROP_NAME
=
"number"
;
public
static
final
String
NUMBER_PROP_NAME
=
"number"
;
public
static
final
String
PRO_TYPE_PROP_NAME
=
"proType"
;
public
static
final
String
PRO_TYPE_PROP_NAME
=
"proType"
;
public
static
final
String
START_TIME_PROP_NAME
=
"startTime"
;
public
static
final
String
START_TIME_PROP_NAME
=
"startTime"
;
public
static
final
String
TOTAL_BUDGET_PROP_NAME
=
"totalBudget"
;
public
static
final
String
TOTAL_BUDGET_PROP_NAME
=
"totalBudget"
;
/**
/**
* 扩展VO属性
* 扩展VO属性
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@JsonIgnore
@JsonIgnore
private
DxObjFileLinkVOEmbeddable
dxObjFileLinkEmbeddable
;
private
DxObjFileLinkVOEmbeddable
dxObjFileLinkEmbeddable
;
/**
/**
* 扩展VO属性
* 扩展VO属性
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@JsonIgnore
@JsonIgnore
private
DxLifecycleManageBaseVOEmbeddable
dxLifecycleManageBaseEmbeddable
;
private
DxLifecycleManageBaseVOEmbeddable
dxLifecycleManageBaseEmbeddable
;
/**
/**
* dao扩展对象
* dao扩展对象
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@JsonIgnore
@JsonIgnore
private
DxIdVOEmbeddable
dxIdEmbeddable
;
private
DxIdVOEmbeddable
dxIdEmbeddable
;
/**
/**
* 扩展VO属性
* 扩展VO属性
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@JsonIgnore
@JsonIgnore
private
DxSecretVOEmbeddable
dxSecretEmbeddable
;
private
DxSecretVOEmbeddable
dxSecretEmbeddable
;
/**
/**
* 外协项目预算总额
* 外协项目预算总额
*/
*/
private
String
budgetAmount
;
private
String
budgetAmount
;
/**
/**
* 客户单位
* 客户单位
*/
*/
private
String
customUnit
;
private
String
customUnit
;
/**
/**
* 计划结束时间
* 计划结束时间
*/
*/
private
LocalDateTime
endTime
;
private
LocalDateTime
endTime
;
/**
/**
* 项目群项目关联link集合
* 项目群项目关联link集合
*/
*/
@RelationProperty
(
refProperty
=
"source"
)
@RelationProperty
(
refProperty
=
"source"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
List
<
ExtProgramProjectLinkVO
>
extProgramProjectLinks
;
private
List
<
ExtProgramProjectLinkVO
>
extProgramProjectLinks
;
/**
/**
* 经费来源
* 经费来源
*/
*/
private
String
fundSource
;
private
String
fundSource
;
/**
/**
* 负责人
* 负责人
*/
*/
@ReferenceProperty
(
baseProperty
=
"headerId"
)
@ReferenceProperty
(
baseProperty
=
"headerId"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
DxUserInfoVO
header
;
private
DxUserInfoVO
header
;
/**
/**
* 负责人
* 负责人
*/
*/
private
Long
headerId
;
private
Long
headerId
;
/**
/**
* 负责人
* 负责人
*/
*/
private
String
headerIdType
;
private
String
headerIdType
;
/**
/**
* 项目主管
* 项目主管
*/
*/
@ReferenceProperty
(
baseProperty
=
"managerId"
)
@ReferenceProperty
(
baseProperty
=
"managerId"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
DxUserInfoVO
manager
;
private
DxUserInfoVO
manager
;
/**
/**
* 项目主管
* 项目主管
*/
*/
private
Long
managerId
;
private
Long
managerId
;
/**
/**
* 项目主管
* 项目主管
*/
*/
private
String
managerIdType
;
private
String
managerIdType
;
/**
/**
* 主管部门
* 主管部门
*/
*/
@ReferenceProperty
(
baseProperty
=
"managerOrgId"
)
@ReferenceProperty
(
baseProperty
=
"managerOrgId"
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
@VersionProperty
(
curVersion
=
VersionRelationType
.
NONE
,
refVersion
=
VersionRelationType
.
NONE
)
private
DxOrganizationVO
managerOrg
;
private
DxOrganizationVO
managerOrg
;
/**
/**
* 主管部门
* 主管部门
*/
*/
private
Long
managerOrgId
;
private
Long
managerOrgId
;
/**
/**
* 主管部门
* 主管部门
*/
*/
private
String
managerOrgIdType
;
private
String
managerOrgIdType
;
/**
/**
* 项目代号
* 项目名称
*/
*/
private
String
name
;
/**
* 项目代号
*/
private
String
number
;
private
String
number
;
/**
/**
* 项目类型
* 项目类型
*/
*/
private
String
proType
;
private
String
proType
;
/**
/**
* 计划开始时间
* 计划开始时间
*/
*/
private
LocalDateTime
startTime
;
private
LocalDateTime
startTime
;
/**
/**
* 总经费
* 总经费
*/
*/
private
String
totalBudget
;
private
String
totalBudget
;
}
}
...
...
dex-basic-service-expand-entity/src/main/java/com/yonde/dex/basic/entity/po/ExtProgram.java
View file @
7578b617
package
com
.
yonde
.
dex
.
basic
.
entity
.
po
;
package
com
.
yonde
.
dex
.
basic
.
entity
.
po
;
import
org.springframework.data.annotation.CreatedBy
;
import
org.springframework.data.annotation.CreatedBy
;
import
javax.persistence.UniqueConstraint
;
import
javax.persistence.UniqueConstraint
;
import
java.util.Date
;
import
java.util.Date
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
import
lombok.EqualsAndHashCode
;
import
lombok.EqualsAndHashCode
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
org.springframework.data.annotation.LastModifiedBy
;
import
org.springframework.data.annotation.LastModifiedBy
;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
import
org.springframework.data.annotation.CreatedDate
;
import
org.springframework.data.annotation.CreatedDate
;
import
com.yonde.dex.basedata.entity.annotation.DexEmbedded
;
import
com.yonde.dex.basedata.entity.annotation.DexEmbedded
;
import
lombok.Data
;
import
lombok.Data
;
import
com.yonde.dex.basedata.entity.annotation.*
;
import
com.yonde.dex.basedata.entity.annotation.*
;
import
java.math.BigInteger
;
import
java.math.BigInteger
;
import
javax.persistence.*
;
import
javax.persistence.*
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
import
lombok.AllArgsConstructor
;
import
lombok.AllArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
lombok.NoArgsConstructor
;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
import
javax.persistence.Embedded
;
import
javax.persistence.Embedded
;
import
javax.persistence.Entity
;
import
javax.persistence.Entity
;
import
javax.persistence.Table
;
import
javax.persistence.Table
;
import
com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable
;
import
com.yonde.dex.lcycle.plugin.entities.DxLifecycleManageBaseEmbeddable
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
com.yonde.dex.dao.entity.base.IdEntity
;
import
javax.persistence.Column
;
import
javax.persistence.Column
;
import
com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder
;
import
com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkHolder
;
import
com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable
;
import
com.yonde.dex.dfs.objfilelink.plugin.entities.DxObjFileLinkEmbeddable
;
import
com.yonde.dex.secretcode.plugin.entities.DxSecretHolder
;
import
com.yonde.dex.secretcode.plugin.entities.DxSecretHolder
;
...
@@ -34,97 +44,101 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
...
@@ -34,97 +44,101 @@ import com.yonde.dex.secretcode.plugin.entities.DxSecretEmbeddable;
import
com.yonde.dex.dao.entity.base.IdOnlyEntity
;
import
com.yonde.dex.dao.entity.base.IdOnlyEntity
;
/**
/**
* @description: ExtProgram-PO实体
* @description: ExtProgram-PO实体
* @author: dexadmin
* @author: dexadmin
* @version: V
* @version: V
* @date: 2024-9-9 11:04:24
* @date: 2024-9-11 9:52:59
**/
**/
@Entity
@Entity
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
(
callSuper
=
true
)
@NoArgsConstructor
@NoArgsConstructor
@Data
@Data
@Table
(
name
=
"EXT_PROGRAM"
)
@Table
(
name
=
"EXT_PROGRAM"
)
public
class
ExtProgram
extends
IdOnlyEntity
implements
DxObjFileLinkHolder
,
DxLifecycleManageBaseHolder
,
IdEntity
,
DxSecretHolder
{
public
class
ExtProgram
extends
IdOnlyEntity
implements
DxObjFileLinkHolder
,
DxLifecycleManageBaseHolder
,
IdEntity
,
DxSecretHolder
{
/**
/**
* 扩展PO属性
* 扩展PO属性
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@Embedded
()
@Embedded
()
private
DxObjFileLinkEmbeddable
dxObjFileLinkEmbeddable
;
private
DxObjFileLinkEmbeddable
dxObjFileLinkEmbeddable
;
/**
/**
* 扩展PO属性
* 扩展PO属性
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@Embedded
()
@Embedded
()
private
DxLifecycleManageBaseEmbeddable
dxLifecycleManageBaseEmbeddable
;
private
DxLifecycleManageBaseEmbeddable
dxLifecycleManageBaseEmbeddable
;
/**
/**
* dao扩展对象
* dao扩展对象
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@Embedded
()
@Embedded
()
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
private
DxIdEntityEmbeddable
dxIdEmbeddable
;
/**
/**
* 扩展PO属性
* 扩展PO属性
*/
*/
@DexEmbedded
()
@DexEmbedded
()
@Embedded
()
@Embedded
()
private
DxSecretEmbeddable
dxSecretEmbeddable
;
private
DxSecretEmbeddable
dxSecretEmbeddable
;
/**
/**
* 外协项目预算总额
* 外协项目预算总额
*/
*/
private
String
budgetAmount
;
private
String
budgetAmount
;
/**
/**
* 客户单位
* 客户单位
*/
*/
private
String
customUnit
;
private
String
customUnit
;
/**
/**
* 计划结束时间
* 计划结束时间
*/
*/
private
LocalDateTime
endTime
;
private
LocalDateTime
endTime
;
/**
/**
* 经费来源
* 经费来源
*/
*/
private
String
fundSource
;
private
String
fundSource
;
/**
/**
* 负责人的id
* 负责人的id
*/
*/
private
Long
headerId
;
private
Long
headerId
;
/**
/**
* 负责人的类型
* 负责人的类型
*/
*/
private
String
headerIdType
;
private
String
headerIdType
;
/**
/**
* 项目主管的id
* 项目主管的id
*/
*/
private
Long
managerId
;
private
Long
managerId
;
/**
/**
* 项目主管的类型
* 项目主管的类型
*/
*/
private
String
managerIdType
;
private
String
managerIdType
;
/**
/**
* 主管部门的id
* 主管部门的id
*/
*/
private
Long
managerOrgId
;
private
Long
managerOrgId
;
/**
/**
* 主管部门的类型
* 主管部门的类型
*/
*/
private
String
managerOrgIdType
;
private
String
managerOrgIdType
;
/**
/**
* 项目代号
* 项目名称
*/
*/
private
String
name
;
/**
* 项目代号
*/
private
String
number
;
private
String
number
;
/**
/**
* 项目类型
* 项目类型
*/
*/
private
String
proType
;
private
String
proType
;
/**
/**
* 计划开始时间
* 计划开始时间
*/
*/
private
LocalDateTime
startTime
;
private
LocalDateTime
startTime
;
/**
/**
* 总经费
* 总经费
*/
*/
private
String
totalBudget
;
private
String
totalBudget
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment