Merge branch 'master' of http://git.estsh.com/i3-IMPP/i3plus-pojo
commit
072d64859c
@ -0,0 +1,68 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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 : hansen.ke
|
||||
* @CreateDate : 2018-11-02 9:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@Table(name="WMS_BUTTON")
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Api(value="元数据按钮信息表",description = "元数据按钮信息表")
|
||||
public class WmsButton extends BaseBean {
|
||||
|
||||
@Column(name = "CODE")
|
||||
@ApiParam(value = "元数据编码")
|
||||
private String code;
|
||||
|
||||
@Column(name = "NAME")
|
||||
@ApiParam(value = "按钮名称")
|
||||
private String name;
|
||||
|
||||
@Column(name = "ICON")
|
||||
@ApiParam(value = "图标")
|
||||
private String icon;
|
||||
|
||||
@Column(name = "UI")
|
||||
@ApiParam(value = "按钮UI路径")
|
||||
private String ui;
|
||||
|
||||
@Column(name = "BS")
|
||||
@ApiParam(value = "按钮BS路径")
|
||||
private String bs;
|
||||
|
||||
@Column(name = "URL")
|
||||
@ApiParam(value = "服务端URL")
|
||||
private String url;
|
||||
|
||||
@Column(name = "ORDER_NUM")
|
||||
@ApiParam(value = "排序号",example = "1")
|
||||
private Integer orderNum;
|
||||
|
||||
@Column(name = "GROUP_NUM")
|
||||
@ApiParam(value = "分组号",example = "1")
|
||||
private Integer groupNum;
|
||||
|
||||
@Column(name = "IS_BASE")
|
||||
@ApiParam(value = "是否基础功能",example = "2")
|
||||
private Integer isBase;
|
||||
|
||||
@Column(name = "IS_HIDE")
|
||||
@ApiParam(value = "是否删除",example = "2")
|
||||
private Integer isHide;
|
||||
}
|
@ -0,0 +1,125 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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 : amy
|
||||
* @CreateDate : 2018-11-02 10:00
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "WMS_FIELD")
|
||||
@Api("元数据字段表")
|
||||
public class WmsField extends BaseBean{
|
||||
|
||||
@Column(name = "OBJECT_CODE")
|
||||
@ApiParam("对象编码")
|
||||
private String objectCode;
|
||||
|
||||
@Column(name = "FIELD_NUM")
|
||||
@ApiParam(value = "表单分组序号",example = "-1")
|
||||
private Integer fieldNum;
|
||||
|
||||
@Column(name = "ORDER_NUM")
|
||||
@ApiParam(value = "排序索引",example = "-1")
|
||||
private Integer orderNum;
|
||||
|
||||
@Column(name = "FIELD_SET")
|
||||
@ApiParam("表单分组")
|
||||
private String fieldSet;
|
||||
|
||||
@Column(name = "TABLE_NAME")
|
||||
@ApiParam("字段表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name = "FIELD_EN")
|
||||
@ApiParam("英文名")
|
||||
private String fieldEn;
|
||||
|
||||
@Column(name = "FIELD_CN")
|
||||
@ApiParam("中文名")
|
||||
private String fieldCn;
|
||||
|
||||
@Column(name = "TYPE")
|
||||
@ApiParam("控件类型")
|
||||
private String type;
|
||||
|
||||
@Column(name = "EXP")
|
||||
@ApiParam("控件表达式")
|
||||
private String exp;
|
||||
|
||||
@Column(name = "IS_QUERY")
|
||||
@ApiParam(value = "是否可查询", example = "2")
|
||||
private Integer isQuery;
|
||||
|
||||
@Column(name = "IS_SHOW")
|
||||
@ApiParam(value = "是否可显", example = "1")
|
||||
private Integer isShow;
|
||||
|
||||
@Column(name = "IS_DISABLE")
|
||||
@ApiParam(value = "是否禁用", example = "2")
|
||||
private Integer isDisable;
|
||||
|
||||
@Column(name = "IS_ORDER")
|
||||
@ApiParam(value = "是否可排序", example = "1")
|
||||
private Integer isOrder;
|
||||
|
||||
@Column(name = "IS_EDIT")
|
||||
@ApiParam(value = "是否可编辑字段", example = "1")
|
||||
private Integer isEdit;
|
||||
|
||||
@Column(name = "IS_REQURIED")
|
||||
@ApiParam(value = "是否必填", example = "1")
|
||||
private Integer isRequried;
|
||||
|
||||
@Column(name = "IS_MULTIPLE")
|
||||
@ApiParam(value = "是否多选项", example = "2")
|
||||
private Integer isMultiple;
|
||||
|
||||
@Column(name = "PLACEHOLDER")
|
||||
@ApiParam("输入提示")
|
||||
private String placeholder;
|
||||
|
||||
@Column(name = "VALIDATOR")
|
||||
@ApiParam(value = "是否可编辑字段", example = "2")
|
||||
private Integer validator;
|
||||
|
||||
@Column(name = "DEFAULTER")
|
||||
@ApiParam("默认值")
|
||||
private String defaulter;
|
||||
|
||||
@Column(name = "ADD_STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer addStatus;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam("数据类型")
|
||||
private Integer dataType;
|
||||
|
||||
@Column(name = "DATA_TYPE_NAME")
|
||||
@ApiParam("数据类型名称")
|
||||
private String dataTypeName;
|
||||
|
||||
@Column(name = "DATA_SIZE")
|
||||
@ApiParam("整数位长度")
|
||||
private Integer dataSize;
|
||||
|
||||
@Column(name = "DATA_DECIMAL")
|
||||
@ApiParam("小数位长度")
|
||||
private Integer dataDecimal;
|
||||
|
||||
}
|
@ -0,0 +1,81 @@
|
||||
package cn.estsh.i3plus.pojo.wms.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
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 : amy
|
||||
* @CreateDate : 2018-11-02 10:37
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@Table(name = "WMS_OBJECT")
|
||||
@Api("元数据信息表")
|
||||
public class WmsObject extends BaseBean {
|
||||
|
||||
@Column(name = "CODE")
|
||||
@ApiParam("对象编码")
|
||||
private String code;
|
||||
|
||||
@Column(name = "NAME")
|
||||
@ApiParam("对象名称")
|
||||
private String name;
|
||||
|
||||
@Column(name = "VIEW_NAME")
|
||||
@ApiParam("查询数据视图")
|
||||
private String viewName;
|
||||
|
||||
@Column(name = "TABLE_NAME")
|
||||
@ApiParam("保存数据主表")
|
||||
private String tableName;
|
||||
|
||||
@Column(name = "PK_NAME")
|
||||
@ApiParam("主键")
|
||||
private String pkName;
|
||||
|
||||
@Column(name = "DATA_SOURCE")
|
||||
@ApiParam("数据源")
|
||||
private String dataSource;
|
||||
|
||||
@Column(name = "IS_SINGLE")
|
||||
@ApiParam(value = "是否单选", example = "1")
|
||||
private Integer isSingle;
|
||||
|
||||
@Column(name = "IS_CELL_EDIT")
|
||||
@ApiParam(value = "是否可行内编辑", example = "2")
|
||||
private Integer isCellEdit;
|
||||
|
||||
@Column(name = "IS_SHOW_NUM")
|
||||
@ApiParam(value = "是否显示行号", example = "1")
|
||||
private Integer isShowNum;
|
||||
|
||||
@Column(name = "IS_FIRST_LOAD")
|
||||
@ApiParam(value = "是否初始加载", example = "1")
|
||||
private Integer isFirstLoad;
|
||||
|
||||
@Column(name = "FILTER")
|
||||
@ApiParam("初始数据过滤条件")
|
||||
private String filter;
|
||||
|
||||
@Column(name = "DEFAULT_ORDER")
|
||||
@ApiParam("默认排序字段(desc)")
|
||||
private String defaultOrder;
|
||||
|
||||
@Column(name = "BIZ_INTERCEPT")
|
||||
@ApiParam("自定义业务拦截")
|
||||
private String bizIntercept;
|
||||
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsButton;
|
||||
|
||||
/**
|
||||
* @Description :对象持久层仓用方法控制(元数据按钮按钮信息)
|
||||
* @Reference :
|
||||
* @Author : hansen.ke
|
||||
* @CreateDate : 2018-11-02 10:22
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsButtonRepository extends BaseRepository<WmsButton,Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsField;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-02 11:24
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
public interface WmsFieldRepository extends BaseRepository<WmsField, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsObject;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : amy
|
||||
* @CreateDate : 2018-11-02 11:23
|
||||
* @Modify:
|
||||
**/
|
||||
@Service
|
||||
public interface WmsObjectRepository extends BaseRepository<WmsObject, Long> {
|
||||
}
|
Loading…
Reference in New Issue