Merge pull request 'ext-dev' (#274) from andly.pan/i3plus-pojo:ext-dev into ext-dev
Reviewed-on: http://git.estsh.com/i3-IMPP/i3plus-pojo/pulls/274yun-zuoyi
commit
8366905f58
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.bean.base;
|
||||
|
||||
import io.swagger.annotations.ApiModel;
|
||||
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 : pantianhu
|
||||
* @CreateDate : 2021-05-26 17:04
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MDM_FIELD")
|
||||
@ApiModel("表字段")
|
||||
public class MdmField extends BaseMdmBean {
|
||||
|
||||
@Column(name="TABLE_NAME")
|
||||
@ApiParam(value ="表名")
|
||||
private String tableName;
|
||||
|
||||
@Column(name="FIELD_NAME")
|
||||
@ApiParam(value ="字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name="FIELD_DESCRIPTION")
|
||||
@ApiParam(value ="字段描述")
|
||||
private String fieldDescription;
|
||||
|
||||
@Column(name="IS_SELECT")
|
||||
@ApiParam(value ="是否选中")
|
||||
private Integer isSelect;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mdm.repository.master;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mdm.bean.base.MdmField;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : pantianhu
|
||||
* @CreateDate : 2021-05-26 20:33
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MdmfieldRepository extends BaseRepository<MdmField, Long> {
|
||||
}
|
Loading…
Reference in New Issue