提交 6809e1aa 编写于 作者: ibizdev's avatar ibizdev

ibiz4j 发布系统代码

上级 9454b41a
...@@ -118,7 +118,7 @@ ...@@ -118,7 +118,7 @@
<!--输出实体[DST_VIEW]数据结构 --> <!--输出实体[DST_VIEW]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-dst_view-36-6"> <changeSet author="a_A_5d9d78509" id="tab-dst_view-38-6">
<createTable tableName="IBZVIEW"> <createTable tableName="IBZVIEW">
<column name="VIEWID" remarks="" type="VARCHAR(100)"> <column name="VIEWID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_DST_VIEW_VIEWID"/> <constraints primaryKey="true" primaryKeyName="PK_DST_VIEW_VIEWID"/>
...@@ -307,7 +307,7 @@ ...@@ -307,7 +307,7 @@
<!--输出实体[DST_ROUTER]外键关系 --> <!--输出实体[DST_ROUTER]外键关系 -->
<!--输出实体[DST_SYSTEM]外键关系 --> <!--输出实体[DST_SYSTEM]外键关系 -->
<!--输出实体[DST_VIEW]外键关系 --> <!--输出实体[DST_VIEW]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-dst_view-36-14"> <changeSet author="a_A_5d9d78509" id="fk-dst_view-38-14">
<addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="IBZVIEW" constraintName="DER1N_DST_VIEW_META_ENTITY_ENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ENTITYID" referencedTableName="IBZENTITY" validate="true"/> <addForeignKeyConstraint baseColumnNames="ENTITYID" baseTableName="IBZVIEW" constraintName="DER1N_DST_VIEW_META_ENTITY_ENT" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ENTITYID" referencedTableName="IBZENTITY" validate="true"/>
</changeSet> </changeSet>
<!--输出实体[META_DATASET]外键关系 --> <!--输出实体[META_DATASET]外键关系 -->
......
package cn.ibizlab.api.dto;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.math.BigInteger;
import java.util.Map;
import java.util.HashMap;
import java.io.Serializable;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient;
import lombok.Data;
/**
* 服务DTO对象[DstLookupDTO]
*/
@Data
public class DstLookupDTO extends DTOBase implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 属性 [ID]
*
*/
@JSONField(name = "id")
@JsonProperty("id")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String id;
/**
* 属性 [RELATIONID]
*
*/
@JSONField(name = "relationid")
@JsonProperty("relationid")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String relationid;
/**
* 属性 [FIELDNAME]
*
*/
@JSONField(name = "fieldname")
@JsonProperty("fieldname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String fieldname;
/**
* 属性 [REFFIELDNAME]
*
*/
@JSONField(name = "reffieldname")
@JsonProperty("reffieldname")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String reffieldname;
/**
* 设置 [RELATIONID]
*/
public void setRelationid(String relationid){
this.relationid = relationid ;
this.modify("relationid",relationid);
}
/**
* 设置 [FIELDNAME]
*/
public void setFieldname(String fieldname){
this.fieldname = fieldname ;
this.modify("fieldname",fieldname);
}
/**
* 设置 [REFFIELDNAME]
*/
public void setReffieldname(String reffieldname){
this.reffieldname = reffieldname ;
this.modify("reffieldname",reffieldname);
}
}
...@@ -184,6 +184,13 @@ public class MetaRelationshipDTO extends DTOBase implements Serializable { ...@@ -184,6 +184,13 @@ public class MetaRelationshipDTO extends DTOBase implements Serializable {
} }
/**
* [DST_LOOKUP]
*/
@JsonProperty("dstlookups")
@JSONField(name = "dstlookups")
private List<DstLookupDTO> lookup ;
} }
package cn.ibizlab.api.mapping;
import org.mapstruct.*;
import cn.ibizlab.core.lite.domain.DstLookup;
import cn.ibizlab.api.dto.DstLookupDTO;
import cn.ibizlab.util.domain.MappingBase;
import org.mapstruct.factory.Mappers;
@Mapper(componentModel = "spring", uses = {},implementationName="apiDstLookupMapping",
nullValuePropertyMappingStrategy = NullValuePropertyMappingStrategy.IGNORE,
nullValueCheckStrategy = NullValueCheckStrategy.ALWAYS)
public interface DstLookupMapping extends MappingBase<DstLookupDTO, DstLookup> {
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册