元数据按钮实体及数据库接口
parent
e95c145bc5
commit
80b41620b1
@ -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,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> {
|
||||
}
|
Loading…
Reference in New Issue