Merge branch 'dev' of http://git.estsh.com/i3-IMPP/i3plus-pojo into dev
commit
f6c64a8632
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.form.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 数据对象
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2019-02-27 10:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="bf_data_object")
|
||||
@Api(value="数据对象表",description = "用来存储动态对象的相关属性")
|
||||
public class BfDataObject extends BaseBean {
|
||||
|
||||
@Column(name="NAME")
|
||||
@ApiParam(value ="中文名称")
|
||||
private String objectName;
|
||||
|
||||
@Column(name="TABLE_NAME")
|
||||
@ApiParam(value ="表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name="is_view")
|
||||
@ApiParam(value ="是否视图",access = "判断是否是视图,如果不是视图,则是表名")
|
||||
//EnunmUtil.TRUE_OR_FALSE
|
||||
private int isView;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.form.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
||||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 数据对象
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2019-02-27 10:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="bf_data_object_property")
|
||||
@Api(value="数据对象属性表",description = "数据对象的属性明细表")
|
||||
public class BfDataObjectProperty extends BaseBean {
|
||||
|
||||
@Column(name="DATA_OBJECT_ID")
|
||||
@ApiParam(value ="数据对象ID" , example = "-1")
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
//外键关联数据对象主键
|
||||
private Long dataObjectId;
|
||||
|
||||
@Column(name="PROP_NAME")
|
||||
@ApiParam(value ="属性中文名称")
|
||||
private String propName;
|
||||
|
||||
@Column(name="PROP_OBJECT_NAME")
|
||||
@ApiParam(value ="对象中的属性名")
|
||||
//在动态对象中的属性名
|
||||
private String propObjectName;
|
||||
|
||||
@Column(name="PROP_COLUMN_NAME")
|
||||
@ApiParam(value ="属性字段名")
|
||||
//属性在数据库中的字段名
|
||||
private String propColumnName;
|
||||
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
package cn.estsh.i3plus.pojo.form.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description : 数据对象
|
||||
* @Reference :
|
||||
* @Author : alwaysfrin
|
||||
* @CreateDate : 2019-02-27 10:53
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="bf_data_object")
|
||||
@Api(value="数据对象表",description = "用来存储动态对象的相关属性")
|
||||
public class BfDataObjectRefer extends BaseBean {
|
||||
|
||||
@Column(name="NAME")
|
||||
@ApiParam(value ="中文名称")
|
||||
private String objectName;
|
||||
|
||||
@Column(name="TABLE_NAME")
|
||||
@ApiParam(value ="表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name="is_view")
|
||||
@ApiParam(value ="是否视图",access = "判断是否是视图,如果不是视图,则是表名")
|
||||
//EnunmUtil.TRUE_OR_FALSE
|
||||
private int isView;
|
||||
}
|
Loading…
Reference in New Issue