Commit 59f03f80 authored by wangyangyang's avatar wangyangyang

设计评审项:加会议联系模型

parent fb740559
package com.inet.dcs.document.common.vo;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.time.LocalDateTime;
import java.util.ArrayList;
import cn.hutool.core.convert.Convert;
import com.yonde.dex.basedata.entity.annotation.XmlElementProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.math.BigInteger;
import org.springframework.data.annotation.Transient;
import lombok.experimental.Delegate;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.XmlAttribute;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.TypeReference;
import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.basedata.entity.users.DxUserVO;
/**
* @description: ExtContact-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtContactVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class ExtContactVO extends IdOnlyVO implements IdVO{
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String CONTACT_WAY_PROP_NAME = "contactWay";
public static final String CONTACTOR_PROP_NAME = "contactor";
public static final String EXT_NOTICE_CONTACT_LINKS_PROP_NAME = "extNoticeContactLinks";
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 会议联系方式
*/
private String contactWay;
/**
* 会议联系人
*/
private String contactor;
/**
* 设计评审通知会议联系link集合
*/
@RelationProperty(refProperty = "target")
@VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.NONE)
private List<ExtNoticeContactLinkVO> extNoticeContactLinks;
}
...@@ -30,6 +30,7 @@ import com.yonde.dex.basedata.entity.vo.IdOnlyVO; ...@@ -30,6 +30,7 @@ import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import cn.hutool.core.convert.Convert; import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.TypeReference; import cn.hutool.core.lang.TypeReference;
import com.yonde.dex.basedata.entity.data.VersionRelationType; import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable; import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.inet.dcs.document.common.vo.ExtDesignNoticeMinutesLinkVO; import com.inet.dcs.document.common.vo.ExtDesignNoticeMinutesLinkVO;
import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder; import com.yonde.dex.secretcode.plugin.common.entity.DxSecretVOHolder;
...@@ -55,7 +56,7 @@ import com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder; ...@@ -55,7 +56,7 @@ import com.yonde.dex.version.plugin.common.entity.DxIterationVOHolder;
* @description: ExtDesignReviewNotice-VO * @description: ExtDesignReviewNotice-VO
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-1 15:13:13 * @date: 2024-11-7 14:29:44
**/ **/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtDesignReviewNoticeVO.class) @JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtDesignReviewNoticeVO.class)
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
...@@ -76,9 +77,11 @@ public class ExtDesignReviewNoticeVO extends IdOnlyVO implements IdVO ,DxContext ...@@ -76,9 +77,11 @@ public class ExtDesignReviewNoticeVO extends IdOnlyVO implements IdVO ,DxContext
public static final String EDIT_UNIT_ID_TYPE_PROP_NAME = "editUnitIdType"; public static final String EDIT_UNIT_ID_TYPE_PROP_NAME = "editUnitIdType";
public static final String EXPERT_GROUP_LIST_PROP_NAME = "expertGroupList"; public static final String EXPERT_GROUP_LIST_PROP_NAME = "expertGroupList";
public static final String EXT_DESIGN_NOTICE_MINUTES_LINKS_PROP_NAME = "extDesignNoticeMinutesLinks"; public static final String EXT_DESIGN_NOTICE_MINUTES_LINKS_PROP_NAME = "extDesignNoticeMinutesLinks";
public static final String EXT_NOTICE_CONTACT_LINKS_PROP_NAME = "extNoticeContactLinks";
public static final String HOST_PROP_NAME = "host"; public static final String HOST_PROP_NAME = "host";
public static final String HOST_ID_PROP_NAME = "hostId"; public static final String HOST_ID_PROP_NAME = "hostId";
public static final String HOST_ID_TYPE_PROP_NAME = "hostIdType"; public static final String HOST_ID_TYPE_PROP_NAME = "hostIdType";
public static final String PHASE_STATE_PROP_NAME = "phaseState";
public static final String PRO_CODE_PROP_NAME = "proCode"; public static final String PRO_CODE_PROP_NAME = "proCode";
public static final String PRO_LEVEL_PROP_NAME = "proLevel"; public static final String PRO_LEVEL_PROP_NAME = "proLevel";
public static final String PRO_NAME_PROP_NAME = "proName"; public static final String PRO_NAME_PROP_NAME = "proName";
...@@ -178,6 +181,13 @@ public class ExtDesignReviewNoticeVO extends IdOnlyVO implements IdVO ,DxContext ...@@ -178,6 +181,13 @@ public class ExtDesignReviewNoticeVO extends IdOnlyVO implements IdVO ,DxContext
@VersionProperty(curVersion = VersionRelationType.ITERATION, refVersion = VersionRelationType.NONE) @VersionProperty(curVersion = VersionRelationType.ITERATION, refVersion = VersionRelationType.NONE)
private List<ExtDesignNoticeMinutesLinkVO> extDesignNoticeMinutesLinks; private List<ExtDesignNoticeMinutesLinkVO> extDesignNoticeMinutesLinks;
/**
* 设计评审通知会议联系link集合
*/
@RelationProperty(refProperty = "source")
@VersionProperty(curVersion = VersionRelationType.ITERATION, refVersion = VersionRelationType.NONE)
private List<ExtNoticeContactLinkVO> extNoticeContactLinks;
/** /**
* 主持人 * 主持人
*/ */
...@@ -195,6 +205,11 @@ public class ExtDesignReviewNoticeVO extends IdOnlyVO implements IdVO ,DxContext ...@@ -195,6 +205,11 @@ public class ExtDesignReviewNoticeVO extends IdOnlyVO implements IdVO ,DxContext
*/ */
private String hostIdType; private String hostIdType;
/**
* 阶段状态
*/
private String phaseState;
/** /**
* 项目代号 * 项目代号
*/ */
......
package com.inet.dcs.document.common.vo;
import javax.validation.constraints.NotBlank;
import java.util.Date;
import java.time.LocalDateTime;
import java.util.ArrayList;
import cn.hutool.core.convert.Convert;
import com.yonde.dex.basedata.entity.annotation.XmlElementProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.annotation.JsonUnwrapped;
import lombok.ToString;
import com.fasterxml.jackson.annotation.JsonIgnore;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.math.BigInteger;
import org.springframework.data.annotation.Transient;
import lombok.experimental.Delegate;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.XmlAttribute;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.NotNull;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.yonde.dex.basedata.entity.xmladapters.LocalDateTimeXmlAdapter;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.yonde.dex.basedata.entity.vo.IdOnlyVO;
import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.TypeReference;
import com.yonde.dex.basedata.entity.data.VersionRelationType;
import com.yonde.dex.basedata.entity.vo.DxIdVOEmbeddable;
import com.yonde.dex.basedata.entity.vo.IdVO;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOHolder;
import com.yonde.dex.linkdata.plugin.common.DxLinkDataVOEmbeddable;
import com.yonde.dex.basedata.entity.users.DxUserVO;
import com.inet.dcs.document.common.vo.ExtDesignReviewNoticeVO;
/**
* @description: ExtNoticeContactLink-VO
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@JsonTypeInfo( use = JsonTypeInfo.Id.CLASS, property = "dxClassname", visible = true, defaultImpl = ExtNoticeContactLinkVO.class)
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
@DexTypeVersionProp(propName = "source", join = @VersionProperty(curVersion = VersionRelationType.NONE, refVersion = VersionRelationType.ITERATION))
public class ExtNoticeContactLinkVO extends IdOnlyVO implements IdVO ,DxLinkDataVOHolder<ExtDesignReviewNoticeVO, ExtContactVO>{
public static final String DX_ID_EMBEDDABLE_PROP_NAME = "dxIdEmbeddable";
public static final String DX_LINK_DATA_EMBEDDABLE_PROP_NAME = "dxLinkDataEmbeddable";
/**
* dao扩展对象
*/
@DexEmbedded()
@JsonIgnore
private DxIdVOEmbeddable dxIdEmbeddable;
/**
* 扩展VO属性
*/
@DexEmbedded()
@JsonIgnore
private DxLinkDataVOEmbeddable<ExtDesignReviewNoticeVO, ExtContactVO> dxLinkDataEmbeddable;
}
package com.inet.dcs.document.core.controller;
import org.springframework.stereotype.Controller;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.inet.dcs.document.common.vo.ExtContactVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.core.service.ExtContactService;
import com.yonde.dex.basedata.entity.api.ApiResult;
import com.inet.dcs.document.core.controller.shadow.ExtContactControllerShadow;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
/**
* @description: ExtContact-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
@Api(tags = "ExtContact管理服务")
@RequestMapping("/ExtContact")
@ResponseBody()
@Controller(ExtContactController.BEAN_NAME)
public class ExtContactController<V extends ExtContactVO, S extends ExtContactService<V>> extends ExtContactControllerShadow<V, S> {
}
package com.inet.dcs.document.core.controller;
import org.springframework.stereotype.Controller;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.core.service.ExtNoticeContactLinkService;
import com.yonde.dex.basedata.entity.api.ApiResult;
import com.inet.dcs.document.core.controller.shadow.ExtNoticeContactLinkControllerShadow;
import javax.annotation.Resource;
import org.springframework.stereotype.Controller;
/**
* @description: ExtNoticeContactLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@Api(tags = "ExtNoticeContactLink管理服务")
@RequestMapping("/ExtNoticeContactLink")
@ResponseBody()
@Controller(ExtNoticeContactLinkController.BEAN_NAME)
public class ExtNoticeContactLinkController<V extends ExtNoticeContactLinkVO, S extends ExtNoticeContactLinkService<V>> extends ExtNoticeContactLinkControllerShadow<V, S> {
}
package com.inet.dcs.document.core.controller.shadow;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.inet.dcs.document.common.vo.ExtContactVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.core.service.ExtContactService;
import com.inet.dcs.document.core.service.impl.ExtContactServiceImpl;
import com.yonde.dex.basedata.entity.api.ApiResult;
import javax.annotation.Resource;
import com.yonde.dex.baseweb.AbstractBaseController;
/**
* @description: ExtContact-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
public class ExtContactControllerShadow<V extends ExtContactVO, S extends ExtContactService<V>> implements AbstractBaseController<V, S>{
public static final String BEAN_NAME = "extContactController";
/**
* 注入
*/
@Resource(name = ExtContactServiceImpl.BEAN_NAME)
private ExtContactService<V> extContactService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extContactService;
}
}
package com.inet.dcs.document.core.controller.shadow;
import io.swagger.annotations.ApiOperation;
import org.springframework.validation.annotation.Validated;
import java.util.List;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.core.service.ExtNoticeContactLinkService;
import com.inet.dcs.document.core.service.impl.ExtNoticeContactLinkServiceImpl;
import com.yonde.dex.basedata.entity.api.ApiResult;
import javax.annotation.Resource;
import com.yonde.dex.linkdata.plugin.core.controller.DxLinkDataController;
import com.yonde.dex.baseweb.AbstractBaseController;
/**
* @description: ExtNoticeContactLink-Controller
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
public class ExtNoticeContactLinkControllerShadow<V extends ExtNoticeContactLinkVO, S extends ExtNoticeContactLinkService<V>> implements AbstractBaseController<V, S> ,DxLinkDataController<V, S>{
public static final String BEAN_NAME = "extNoticeContactLinkController";
/**
* 注入
*/
@Resource(name = ExtNoticeContactLinkServiceImpl.BEAN_NAME)
private ExtNoticeContactLinkService<V> extNoticeContactLinkService;
/**
* getService
*/
@Override
public S getService() {
return (S)this.extNoticeContactLinkService;
}
}
package com.inet.dcs.document.core.repository;
import com.inet.dcs.document.entity.po.ExtContact;
import com.inet.dcs.document.core.repository.shadow.ExtContactRepositoryShadow;
/**
* @description: ExtContact-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
public interface ExtContactRepository<P extends ExtContact> extends ExtContactRepositoryShadow<P> {
}
package com.inet.dcs.document.core.repository;
import com.inet.dcs.document.entity.po.ExtNoticeContactLink;
import com.inet.dcs.document.core.repository.shadow.ExtNoticeContactLinkRepositoryShadow;
/**
* @description: ExtNoticeContactLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
public interface ExtNoticeContactLinkRepository<P extends ExtNoticeContactLink> extends ExtNoticeContactLinkRepositoryShadow<P> {
}
package com.inet.dcs.document.core.repository.shadow;
import com.inet.dcs.document.entity.po.ExtContact;
import org.springframework.data.repository.NoRepositoryBean;
import com.yonde.dex.dao.business.repository.BaseRepository;
/**
* @description: ExtContact-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
@NoRepositoryBean
public interface ExtContactRepositoryShadow<P extends ExtContact> extends BaseRepository<P> {
String BEAN_NAME = "extContactRepository";
}
package com.inet.dcs.document.core.repository.shadow;
import com.inet.dcs.document.entity.po.ExtNoticeContactLink;
import org.springframework.data.repository.NoRepositoryBean;
import com.yonde.dex.dao.business.repository.BaseRepository;
import com.yonde.dex.linkdata.plugin.core.repository.DxLinkDataRepository;
/**
* @description: ExtNoticeContactLink-repository
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@NoRepositoryBean
public interface ExtNoticeContactLinkRepositoryShadow<P extends ExtNoticeContactLink> extends BaseRepository<P> ,DxLinkDataRepository<P> {
String BEAN_NAME = "extNoticeContactLinkRepository";
}
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtContactVO;
import com.inet.dcs.document.core.service.shadow.ExtContactServiceShadow;
/**
* @description: ExtContact-service
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
public interface ExtContactService<V extends ExtContactVO> extends ExtContactServiceShadow<V> {
}
package com.inet.dcs.document.core.service;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import com.inet.dcs.document.core.service.shadow.ExtNoticeContactLinkServiceShadow;
/**
* @description: ExtNoticeContactLink-service
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
public interface ExtNoticeContactLinkService<V extends ExtNoticeContactLinkVO> extends ExtNoticeContactLinkServiceShadow<V> {
}
package com.inet.dcs.document.core.service.impl;
import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.inet.dcs.document.common.vo.ExtContactVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.core.service.ExtContactService;
import com.inet.dcs.document.core.repository.ExtContactRepository;
import com.inet.dcs.document.entity.po.ExtContact;
import javax.annotation.Resource;
/**
* @description: ExtContact-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
@Slf4j
@Service(ExtContactServiceImpl.BEAN_NAME)
public class ExtContactServiceImpl<V extends ExtContactVO> implements ExtContactService<V>{
public static final String BEAN_NAME = "extContactServiceImpl";
@Autowired
ExtContactRepository<ExtContact> extContactRepository;
}
package com.inet.dcs.document.core.service.impl;
import org.springframework.stereotype.Service;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Autowired;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.core.service.ExtNoticeContactLinkService;
import com.inet.dcs.document.core.repository.ExtNoticeContactLinkRepository;
import com.inet.dcs.document.entity.po.ExtNoticeContactLink;
import javax.annotation.Resource;
/**
* @description: ExtNoticeContactLink-ServiceImpl
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@Slf4j
@Service(ExtNoticeContactLinkServiceImpl.BEAN_NAME)
public class ExtNoticeContactLinkServiceImpl<V extends ExtNoticeContactLinkVO> implements ExtNoticeContactLinkService<V>{
public static final String BEAN_NAME = "extNoticeContactLinkServiceImpl";
@Autowired
ExtNoticeContactLinkRepository<ExtNoticeContactLink> extNoticeContactLinkRepository;
}
package com.inet.dcs.document.core.service.shadow;
import com.inet.dcs.document.common.vo.ExtContactVO;
import com.inet.dcs.document.feign.ExtContactServiceFeign;
import com.yonde.dex.dao.service.BaseIdEntityService;
/**
* @description: ExtContact-service
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
public interface ExtContactServiceShadow<V extends ExtContactVO> extends ExtContactServiceFeign<V>, BaseIdEntityService<V> {
}
package com.inet.dcs.document.core.service.shadow;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import com.inet.dcs.document.feign.ExtNoticeContactLinkServiceFeign;
import com.yonde.dex.linkdata.plugin.core.service.DxLinkDataService;
import com.yonde.dex.dao.service.BaseIdEntityService;
/**
* @description: ExtNoticeContactLink-service
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
public interface ExtNoticeContactLinkServiceShadow<V extends ExtNoticeContactLinkVO> extends ExtNoticeContactLinkServiceFeign<V>, BaseIdEntityService<V> ,DxLinkDataService<V> {
}
package com.inet.dcs.document.entity.po;
import org.springframework.data.annotation.CreatedBy;
import javax.persistence.UniqueConstraint;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.LastModifiedDate;
import com.yonde.dex.dao.entity.base.IdEntity;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.Column;
import org.springframework.data.annotation.CreatedDate;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
/**
* @description: ExtContact-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_CONTACT")
public class ExtContact extends IdOnlyEntity implements IdEntity{
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 会议联系方式
*/
private String contactWay;
/**
* 会议联系人
*/
private String contactor;
}
...@@ -45,7 +45,7 @@ import com.yonde.dex.version.plugin.entities.DxIterationEmbeddable; ...@@ -45,7 +45,7 @@ import com.yonde.dex.version.plugin.entities.DxIterationEmbeddable;
* @description: ExtDesignReviewNotice-PO实体 * @description: ExtDesignReviewNotice-PO实体
* @author: dexadmin * @author: dexadmin
* @version: V * @version: V
* @date: 2024-11-1 15:13:13 * @date: 2024-11-7 14:29:44
**/ **/
@Entity @Entity
@EqualsAndHashCode(callSuper = true) @EqualsAndHashCode(callSuper = true)
...@@ -123,6 +123,10 @@ public class ExtDesignReviewNotice extends IdOnlyEntity implements DxContextHold ...@@ -123,6 +123,10 @@ public class ExtDesignReviewNotice extends IdOnlyEntity implements DxContextHold
*/ */
private String hostIdType; private String hostIdType;
/** /**
* 阶段状态
*/
private String phaseState;
/**
* 项目代号 * 项目代号
*/ */
private String proCode; private String proCode;
......
package com.inet.dcs.document.entity.po;
import org.springframework.data.annotation.CreatedBy;
import javax.persistence.UniqueConstraint;
import java.util.Date;
import java.time.LocalDateTime;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.LastModifiedDate;
import com.yonde.dex.dao.entity.base.IdEntity;
import org.springframework.data.annotation.LastModifiedBy;
import javax.persistence.Column;
import org.springframework.data.annotation.CreatedDate;
import com.yonde.dex.basedata.entity.annotation.DexEmbedded;
import lombok.Data;
import com.yonde.dex.basedata.entity.annotation.*;
import java.math.BigInteger;
import javax.persistence.*;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Embedded;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.yonde.dex.dao.entity.base.IdEntity;
import javax.persistence.Column;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataHolder;
import com.yonde.dex.dao.entity.base.DxIdEntityEmbeddable;
import com.yonde.dex.dao.entity.base.IdOnlyEntity;
import com.yonde.dex.linkdata.plugin.entities.DxLinkDataEmbeddable;
/**
* @description: ExtNoticeContactLink-PO实体
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@Entity
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@Data
@Table(name = "EXT_NOTICE_CONTACT_LINK")
public class ExtNoticeContactLink extends IdOnlyEntity implements IdEntity ,DxLinkDataHolder{
/**
* dao扩展对象
*/
@DexEmbedded()
@Embedded()
private DxIdEntityEmbeddable dxIdEmbeddable;
/**
* 扩展PO属性
*/
@DexEmbedded()
@Embedded()
private DxLinkDataEmbeddable dxLinkDataEmbeddable;
}
package com.inet.dcs.document.feign;
import com.inet.dcs.document.common.vo.ExtContactVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.feign.shadow.ExtContactServiceFeignShadow;
/**
* @description: ExtContact-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
@Api(tags = "ExtContact-FEIGN")
@FeignClient(value = "${dcs.feign.DCS-DOC}", path = "/ExtContact")
public interface ExtContactServiceFeign<V extends ExtContactVO> extends ExtContactServiceFeignShadow<V> {
}
package com.inet.dcs.document.feign;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.inet.dcs.document.feign.shadow.ExtNoticeContactLinkServiceFeignShadow;
/**
* @description: ExtNoticeContactLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
@Api(tags = "ExtNoticeContactLink-FEIGN")
@FeignClient(value = "${dcs.feign.DCS-DOC}", path = "/ExtNoticeContactLink")
public interface ExtNoticeContactLinkServiceFeign<V extends ExtNoticeContactLinkVO> extends ExtNoticeContactLinkServiceFeignShadow<V> {
}
package com.inet.dcs.document.feign.shadow;
import com.inet.dcs.document.common.vo.ExtContactVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.dao.service.remotes.BaseFeign;
/**
* @description: ExtContact-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:49
**/
public interface ExtContactServiceFeignShadow<V extends ExtContactVO> extends BaseFeign<V> {
String BEAN_NAME = "extContactServiceFeign";
}
package com.inet.dcs.document.feign.shadow;
import com.inet.dcs.document.common.vo.ExtNoticeContactLinkVO;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
import com.yonde.dex.dao.service.remotes.BaseFeign;
import com.yonde.dex.linkdata.plugin.feign.DxLinkDataFeign;
/**
* @description: ExtNoticeContactLink-Feign
* @author: dexadmin
* @version: V
* @date: 2024-11-7 14:29:48
**/
public interface ExtNoticeContactLinkServiceFeignShadow<V extends ExtNoticeContactLinkVO> extends BaseFeign<V> ,DxLinkDataFeign<V> {
String BEAN_NAME = "extNoticeContactLinkServiceFeign";
}
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