Merge remote-tracking branch 'origin/test' into test
commit
61603e2aa5
@ -0,0 +1,40 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.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;
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_TIME")
|
||||||
|
@Api("工步参数")
|
||||||
|
public class PtlTime extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 6674121566943415827L;
|
||||||
|
@Column(name = "MODULE")
|
||||||
|
@ApiParam("组件")
|
||||||
|
private String module;
|
||||||
|
|
||||||
|
@Column(name = "ELAPSE")
|
||||||
|
@ApiParam("耗时")
|
||||||
|
private Long elapse;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工位")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : PojoField模型
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2020-04-28
|
||||||
|
* @Modify:
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class PojoFieldModel implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 366939009033748970L;
|
||||||
|
@ApiParam(value ="属性名")
|
||||||
|
private String fieldName;
|
||||||
|
|
||||||
|
@ApiParam(value ="属性类型")
|
||||||
|
private String fieldType;
|
||||||
|
|
||||||
|
@ApiParam(value ="属性描述")
|
||||||
|
private String fieldDesc;
|
||||||
|
|
||||||
|
@ApiParam(value ="字段名称")
|
||||||
|
private String fieldColumnName;
|
||||||
|
|
||||||
|
@ApiParam(value = "数据来源")
|
||||||
|
private String dataSrc;
|
||||||
|
|
||||||
|
@ApiParam(value = "开窗列表显示列名称")
|
||||||
|
private String listColumnName;
|
||||||
|
|
||||||
|
@ApiParam(value = "开窗搜索列名称")
|
||||||
|
private String searchColumnName;
|
||||||
|
|
||||||
|
@ApiParam(value = "回显列名")
|
||||||
|
private String explicitColumnName;
|
||||||
|
|
||||||
|
@ApiParam(value = "下拉框规则")
|
||||||
|
private Integer selectRule;
|
||||||
|
}
|
@ -0,0 +1,36 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.model;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : Pojo模型
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jack.jia
|
||||||
|
* @CreateDate : 2020-04-28
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
public class PojoModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = -3491931203656275910L;
|
||||||
|
@ApiParam(value ="包名")
|
||||||
|
private String packageName;
|
||||||
|
|
||||||
|
@ApiParam(value ="POJO类名")
|
||||||
|
private String simpleName;
|
||||||
|
|
||||||
|
@ApiParam(value ="POJO类全名")
|
||||||
|
private String fullName;
|
||||||
|
|
||||||
|
@ApiParam(value ="表名称名")
|
||||||
|
private String tableName;
|
||||||
|
|
||||||
|
@ApiParam(value ="POJO类描述")
|
||||||
|
private String pojoDesc;
|
||||||
|
|
||||||
|
@ApiParam(value ="属性集合")
|
||||||
|
private List<PojoFieldModel> fieldList;
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.ptl.repository;
|
||||||
|
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.ptl.bean.PtlTime;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
@Repository
|
||||||
|
public interface PtlTimeRepository extends BaseRepository<PtlTime, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue