Merge remote-tracking branch 'origin/ext-dev' into ext-dev
commit
543433bfff
@ -0,0 +1,86 @@
|
||||
package cn.estsh.i3plus.pojo.base.enumutil;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午5:16
|
||||
* @desc
|
||||
*/
|
||||
public class ScreenEnumUtil {
|
||||
|
||||
public enum DATA_OBJECT_SOURCE {
|
||||
TABLE(10, "TABLE", "数据库表"),
|
||||
VIEW(20, "VIEW", "数据库视图");
|
||||
|
||||
private Integer value;
|
||||
private String code;
|
||||
private String description;
|
||||
|
||||
DATA_OBJECT_SOURCE(Integer value, String code, String description) {
|
||||
this.value = value;
|
||||
this.code = code;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public Integer getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public static String codeOfDescription(String code) {
|
||||
String tmp = null;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].code.equals(code)) {
|
||||
tmp = values()[i].description;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
public enum DEFAULT_FIELD_IN_DB {
|
||||
CREATE_DATE_TIME("createDatetime", "create_date_time", "创建时间"),
|
||||
MODIFY_DATE_TIME("modifyDatetime", "modify_date_time", "修改时间"),
|
||||
IS_VALID("isValid", "is_valid", "是否有效"),
|
||||
IS_DELETED("isDeleted", "is_deleted", "是否弱删");
|
||||
|
||||
private String code;
|
||||
private String codeDb;
|
||||
private String description;
|
||||
|
||||
DEFAULT_FIELD_IN_DB(String code, String codeDb, String description) {
|
||||
this.code = code;
|
||||
this.codeDb = codeDb;
|
||||
this.description = description;
|
||||
}
|
||||
|
||||
public String getCode() {
|
||||
return code;
|
||||
}
|
||||
|
||||
public String getCodeDb() {
|
||||
return codeDb;
|
||||
}
|
||||
|
||||
public String getDescription() {
|
||||
return description;
|
||||
}
|
||||
|
||||
public static String codeOfDescription(String code) {
|
||||
String tmp = null;
|
||||
for (int i = 0; i < values().length; i++) {
|
||||
if (values()[i].code.equals(code)) {
|
||||
tmp = values()[i].description;
|
||||
}
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.*;
|
||||
|
||||
/**
|
||||
* @Description : 物料校验客户标签关系
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/3/22 13:37
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "IF_PART_CHECK_CUSTOMER_LABEL")
|
||||
@Api("IF_物料校验客户标签关系")
|
||||
public class IfPartCheckCustomerLabel extends BaseBean {
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "IS_CHECK")
|
||||
@ApiParam("是否校验")
|
||||
private Integer isCheck;
|
||||
}
|
@ -0,0 +1,37 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.*;
|
||||
|
||||
/**
|
||||
* @Description : 物料校验客户标签明细
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/3/22 13:37
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "IF_PART_CHECK_CUSTOMER_LABEL_DETAIL")
|
||||
@Api("IF_物料校验客户标签明细")
|
||||
public class IfPartCheckCustomerLabelDetail extends BaseBean {
|
||||
|
||||
@Column(name = "PACKAGE_NO")
|
||||
@ApiParam("托条码")
|
||||
private String packageNo;
|
||||
|
||||
@Column(name = "CUSTOMER_LABEL")
|
||||
@ApiParam("客户标签")
|
||||
private String customerLabel;
|
||||
}
|
@ -0,0 +1,114 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.ColumnDefault;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description :物料关键数据关系记录
|
||||
* @Reference :
|
||||
* @Author : crish
|
||||
* @CreateDate : 2019-05-15
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_KP_DATA_RECORD")
|
||||
@Api("物料关键数据关系记录")
|
||||
public class MesKpDataRecord extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 8243089140216459544L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "KEY_DATA_CODE")
|
||||
@ApiParam("关键数据代码")
|
||||
private String keyDataCode;
|
||||
|
||||
@Column(name = "KEY_DATA_NAME")
|
||||
@ApiParam("关键数据名称")
|
||||
private String keyDataName;
|
||||
|
||||
@Column(name = "KEY_DATA_COUNT")
|
||||
@ApiParam("关键数据数量")
|
||||
private Integer keyDataCount;
|
||||
|
||||
@Column(name = "UPPER_LIMIT", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("数据上限")
|
||||
private Double upperLimit;
|
||||
|
||||
@Column(name = "LOWER_LIMIT", columnDefinition = "decimal(18,8)")
|
||||
@ColumnDefault("0")
|
||||
@ApiParam("数据下限")
|
||||
private Double lowerLimit;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心代码")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工位")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "TORQUE_GROUP")
|
||||
@ApiParam("扭矩组")
|
||||
private String torqueGroup;
|
||||
|
||||
@Column(name = "TORQUE_GROUP_SEQ")
|
||||
@ApiParam("扭矩组顺序")
|
||||
private Integer torqueGroupSeq;
|
||||
|
||||
@Column(name = "TORQUE")
|
||||
@ApiParam("扭矩项")
|
||||
private String torque;
|
||||
|
||||
@Column(name = "TORQUE_SEQ")
|
||||
@ApiParam("扭矩项顺序")
|
||||
private Integer torqueSeq;
|
||||
|
||||
@Column(name = "JOB_ID")
|
||||
@ApiParam("JOB_ID")
|
||||
private Integer jobId;
|
||||
|
||||
@Column(name = "LAST_TIGHTENING_ID")
|
||||
@ApiParam("最后一次扭矩id")
|
||||
private Long lastTighteningId;
|
||||
|
||||
@Column(name = "TORQUE_VALUE")
|
||||
@ApiParam("扭矩值")
|
||||
private Double torqueValue;
|
||||
|
||||
@Column(name = "RESULT")
|
||||
@ApiParam("采集结果")
|
||||
private Integer result;
|
||||
|
||||
@Column(name = "ACTUAL_NUM")
|
||||
@ApiParam("实采个数")
|
||||
private Integer actualNum;;
|
||||
|
||||
public double getKeyDataCountVal() {
|
||||
return this.keyDataCount == null ? 0 : this.keyDataCount;
|
||||
}
|
||||
|
||||
public double getUpperLimitVal() {
|
||||
return this.upperLimit == null ? 0.0d : this.upperLimit;
|
||||
}
|
||||
|
||||
public double getLowerLimitVal() {
|
||||
return this.lowerLimit == null ? 0.0d : this.lowerLimit;
|
||||
}
|
||||
}
|
@ -0,0 +1,52 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 特殊物料
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/24 3:10 PM
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_PART_CAR_MODEL")
|
||||
@Api("车型零件关系表")
|
||||
public class MesPartCarModel extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4039513102671811231L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("零件名称")
|
||||
private String partNameRdd;
|
||||
|
||||
@Column(name = "VEHICLE_CODE")
|
||||
@ApiParam("车型代码")
|
||||
private String vehicleCode;
|
||||
|
||||
@Column(name = "VEHICLE_NAME")
|
||||
@ApiParam("车型名称")
|
||||
private String vehicleName;
|
||||
|
||||
@Column(name = "SERIAL_NO")
|
||||
@ApiParam("车型流水号")
|
||||
private String serialNo;
|
||||
|
||||
}
|
@ -0,0 +1,60 @@
|
||||
package cn.estsh.i3plus.pojo.mes.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.*;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description: 特殊物料
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/24 3:10 PM
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Inheritance(strategy = InheritanceType.JOINED)
|
||||
@Table(name = "MES_PART_SPECIFIC")
|
||||
@Api("特殊物料关系信息")
|
||||
public class MesPartSpecific extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = -4039513102671816031L;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("父零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("父零件名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "ITEM_PART_NO")
|
||||
@ApiParam("子零件")
|
||||
private String itemPartNo;
|
||||
|
||||
@Column(name = "ITEM_PART_NAME")
|
||||
@ApiParam("子零件名称")
|
||||
private String itemPartName;
|
||||
|
||||
@Column(name = "TORQUE_SN")
|
||||
@ApiParam("特殊码")
|
||||
private String specificSn;
|
||||
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元代码")
|
||||
private String workCellCode;
|
||||
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.IfPartCheckCustomerLabelDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/3/22 15:41
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IfPartCheckCustomerLabelDetailRepository extends BaseRepository<IfPartCheckCustomerLabelDetail, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.IfPartCheckCustomerLabel;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : dominic
|
||||
* @CreateDate : 2021/3/22 15:39
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface IfPartCheckCustomerLabelRepository extends BaseRepository<IfPartCheckCustomerLabel, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesKpDataRecord;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/25 2:00 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesKpDataRecordRepository extends BaseRepository<MesKpDataRecord, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartCarModel;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/24 3:13 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesPartCarModelRepository extends BaseRepository<MesPartCarModel, Long> {
|
||||
}
|
@ -0,0 +1,13 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesPartSpecific;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2021/3/24 3:13 PM
|
||||
* @Modify:
|
||||
*/
|
||||
public interface MesPartSpecificRepository extends BaseRepository<MesPartSpecific, Long> {
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>i3plus-pojo</artifactId>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<version>1.0-TEST-SNAPSHOT</version>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>i3plus-pojo-screen</artifactId>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>i3plus.pojo</groupId>
|
||||
<artifactId>i3plus-pojo-base</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>dev</id>
|
||||
<properties>
|
||||
<profileActive>DEV</profileActive>
|
||||
</properties>
|
||||
<activation>
|
||||
<activeByDefault>true</activeByDefault>
|
||||
</activation>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>test</id>
|
||||
<properties>
|
||||
<profileActive>TEST</profileActive>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>docker</id>
|
||||
<properties>
|
||||
<profileActive>DOCKER</profileActive>
|
||||
</properties>
|
||||
</profile>
|
||||
<profile>
|
||||
<id>prod</id>
|
||||
<properties>
|
||||
<profileActive>PROD</profileActive>
|
||||
</properties>
|
||||
</profile>
|
||||
</profiles>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
|
||||
</project>
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午8:47
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public abstract class AbstractScreenBean extends BaseBean {
|
||||
private static final long serialVersionUID = 3535186340743573771L;
|
||||
|
||||
private Integer version;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 上午10:43
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_ACTION")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("动作")
|
||||
public class ScrAction extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 3832856363595940018L;
|
||||
|
||||
@Column(name = "ACTION_CODE")
|
||||
@ApiParam("动作代码")
|
||||
private String actionCode;
|
||||
|
||||
@Column(name = "ACTION_NAME")
|
||||
@ApiParam("动作名称")
|
||||
private String actionName;
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午1:27
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_DATA_OBJECT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("数据对象管理")
|
||||
public class ScrDataObject extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -270662014158685376L;
|
||||
|
||||
@Column(name = "DATA_OBJECT_CODE")
|
||||
@ApiParam(value = "数据对象代码")
|
||||
private String dataObjectCode;
|
||||
|
||||
@Column(name = "SOURCE_CODE")
|
||||
@ApiParam(value = "数据源编码")
|
||||
private String sourceCode;
|
||||
|
||||
@Column(name = "DATA_OBJECT_SOURCE")
|
||||
@ApiParam(value = "数据名称")
|
||||
private String dataObjectSource;
|
||||
|
||||
@Column(name = "DATA_TYPE")
|
||||
@ApiParam(value = "数据类型")
|
||||
private Integer dataType;
|
||||
|
||||
@Column(name = "DESCRIPTION")
|
||||
@ApiParam(value = "描述")
|
||||
private String description;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,57 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午5:21
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_DATA_OBJECT_PROPERTY")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("数据对象属性")
|
||||
public class ScrDataObjectProperty extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 6954106365899677132L;
|
||||
|
||||
@Column(name = "DATA_OBJECT_CODE")
|
||||
@ApiParam(value = "数据对象ID")
|
||||
private Long dataObjectCode;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam(value = "字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@Column(name = "FIELD_TYPE")
|
||||
@ApiParam(value = "字段类型")
|
||||
private String fieldType;
|
||||
|
||||
@Column(name="IS_PRIMARY_KEY")
|
||||
@ApiParam(value ="是否主键")
|
||||
private Integer isPrimaryKey;
|
||||
|
||||
@Column(name="IS_NULLABLE")
|
||||
@ApiParam(value = "是否允许为空")
|
||||
private Integer isNullable;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 上午10:58
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Entity
|
||||
@Table(name = "SCR_DATASOURCE")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("数据源管理")
|
||||
public class ScrDatasource extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2660387454249572573L;
|
||||
|
||||
@Column(name="SOURCE_NAME")
|
||||
@ApiParam(value ="数据源名称")
|
||||
private String sourceName;
|
||||
|
||||
@Column(name="SOURCE_CODE")
|
||||
@ApiParam(value ="数据源代码")
|
||||
private String sourceCode;
|
||||
|
||||
@Column(name="SOURCE_STATUS")
|
||||
@ApiParam(value ="数据源状态",name = "状态:可用,不可用 看枚举当中是否存在")
|
||||
private Integer sourceStatus;
|
||||
|
||||
@Column(name="SOURCE_TYPE")
|
||||
@ApiParam(value ="数据源类型",name = "CommonEnumUtil.DATA_SOURCE_TYPE")
|
||||
private Integer sourceType;
|
||||
|
||||
@Column(name="SOURCE_HOST")
|
||||
@ApiParam(value ="数据源连接地址")
|
||||
private String sourceHost;
|
||||
|
||||
@Column(name="SOURCE_PORT")
|
||||
@ApiParam(value ="数据源端口")
|
||||
private Integer sourcePort;
|
||||
|
||||
@Column(name="SOURCE_DATA_BASE_NAME")
|
||||
@ApiParam(value ="数据库名称")
|
||||
private String sourceDataBaseName;
|
||||
|
||||
@Column(name="SOURCE_USER_NAME")
|
||||
@ApiParam(value ="数据库用户名称")
|
||||
private String sourceUserName;
|
||||
|
||||
@Column(name="SOURCE_PASSWORD")
|
||||
@ApiParam(value ="数据库用户密码")
|
||||
private String sourcePassword;
|
||||
|
||||
@Column(name="SOURCE_DESCRIPTION")
|
||||
@ApiParam(value ="数据源描述")
|
||||
private String sourceDescription;
|
||||
}
|
@ -0,0 +1,40 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/19 下午5:06
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_EVENT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("事件")
|
||||
public class ScrEvent extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6217007706865821613L;
|
||||
|
||||
@Column(name = "EVENT_CODE")
|
||||
@ApiParam("事件代码")
|
||||
private String eventCode;
|
||||
|
||||
@Column(name = "EVENT_NAME")
|
||||
@ApiParam("事件名称")
|
||||
private String eventName;
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/19 下午5:06
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_EVENT_ACTION")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("事件动作")
|
||||
public class ScrEventAction extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6217007706865821613L;
|
||||
|
||||
@Column(name = "EVENT_ACTION_CODE")
|
||||
@ApiParam("事件动作代码")
|
||||
private String eventActionCode;
|
||||
|
||||
@Column(name = "EVENT_ACTION_NAME")
|
||||
@ApiParam("事件动作名称")
|
||||
private String eventActionName;
|
||||
|
||||
@Column(name = "EVENT_CODE")
|
||||
@ApiParam("事件代码")
|
||||
private String eventCode;
|
||||
|
||||
@Column(name = "PRE_ACTION_CODE")
|
||||
@ApiParam("执行前动作代码")
|
||||
private String preActionCode;
|
||||
|
||||
@Column(name = "EXECUTE_ACTION_CODE")
|
||||
@ApiParam("执行的动作代码")
|
||||
private String executeActionCode;
|
||||
|
||||
@Column(name = "POST_ACTION_CODE")
|
||||
@ApiParam("执行前动作代码")
|
||||
private String postActionCode;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午9:59
|
||||
* @desc
|
||||
*/
|
||||
public class ScrFile {
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_LAYOUT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("布局")
|
||||
public class ScrLayout extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 3390463604300159807L;
|
||||
@Column(name = "LAYOUT_CODE")
|
||||
@ApiParam("布局代码")
|
||||
private String layoutCode;
|
||||
|
||||
@Column(name = "LAYOUT_NAME")
|
||||
@ApiParam("布局名称")
|
||||
private String layoutName;
|
||||
|
||||
@Column(name = "ROW_SEQ")
|
||||
@ApiParam("行顺序")
|
||||
private Integer rowSeq;
|
||||
|
||||
@Column(name = "ROW_CODE")
|
||||
@ApiParam("行代码")
|
||||
private String rowCode;
|
||||
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午5:01
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_LAYOUT_COLUMN")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
//@Builder
|
||||
@Api("布局-列")
|
||||
public class ScrLayoutColumn extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 5001564292608042287L;
|
||||
|
||||
@Column(name = "COL_CODE")
|
||||
@ApiParam("列代码")
|
||||
private String colCode;
|
||||
|
||||
@Column(name ="COL_NAME")
|
||||
@ApiParam("列名称")
|
||||
private String colName;
|
||||
|
||||
@Column(name ="COL_SPAN")
|
||||
@ApiParam("列占位")
|
||||
private Integer colSpan;
|
||||
|
||||
}
|
@ -0,0 +1,54 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午5:01
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_LAYOUT_ROW")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("布局-行")
|
||||
public class ScrLayoutRow extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 6042010183759804616L;
|
||||
|
||||
@Column(name = "ROW_CODE")
|
||||
@ApiParam("行代码")
|
||||
private String rowCode;
|
||||
|
||||
@Column(name = "ROW_NAME")
|
||||
@ApiParam("行名称")
|
||||
private String rowName;
|
||||
|
||||
@Column(name = "ROW_HEIGHT")
|
||||
@ApiParam("行高")
|
||||
private Double rowHeight;
|
||||
|
||||
@Column(name = "COL_SEQ")
|
||||
@ApiParam("列序号")
|
||||
private Integer colSeq;
|
||||
|
||||
@Column(name = "COL_CODE")
|
||||
@ApiParam("列代码")
|
||||
private String colCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,41 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:29
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_MODEL")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("model")
|
||||
public class ScrModel extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -4609944173378718944L;
|
||||
|
||||
@Column(name = "MODEL_CODE")
|
||||
@ApiParam("model代码")
|
||||
private String modelCode;
|
||||
|
||||
@Column(name = "DATA_OBJECT_CODE")
|
||||
@ApiParam("数据对象代码")
|
||||
private String dataObjectCode;
|
||||
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:29
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_MODEL_FIELD")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("model字段")
|
||||
public class ScrModelField extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 3893137576091823152L;
|
||||
|
||||
@Column(name = "MODEL_CODE")
|
||||
@ApiParam("model代码")
|
||||
private String modelCode;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@Column(name = "IS_FUZZY_SEARCH")
|
||||
@ApiParam("是否支持模糊查询")
|
||||
private Boolean isFuzzySearch;
|
||||
|
||||
@Column(name = "IS_SHOW_IN_NEW")
|
||||
@ApiParam("是否在新增时展示")
|
||||
private Boolean isShowInNew;
|
||||
|
||||
@Column(name = "IS_SHOW_IN_EDIT")
|
||||
@ApiParam("是否在编辑时展示")
|
||||
private Boolean isShowInEdit;
|
||||
|
||||
@Column(name = "IS_ALLOW_SORT")
|
||||
@ApiParam("是否支持排序")
|
||||
private Boolean isAllowSort;
|
||||
|
||||
@Column(name = "FORM_SEQ")
|
||||
@ApiParam("表单顺序")
|
||||
private Integer formSeq;
|
||||
|
||||
@Column(name = "TABLE_SEQ")
|
||||
@ApiParam("表格顺序")
|
||||
private Integer tableSeq;
|
||||
|
||||
@Column(name = "VALIDATION")
|
||||
@ApiParam("校验")
|
||||
private String validation;
|
||||
|
||||
@Column(name = "DICTIONARY")
|
||||
@ApiParam("字典")
|
||||
private String dictionary;
|
||||
|
||||
@Column(name = "IS_VIRTUAL")
|
||||
@ApiParam("是否是虚拟的")
|
||||
private boolean isVirtual;
|
||||
|
||||
@Column(name = "FIELD_NAME")
|
||||
@ApiParam("字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name = "SPEL_VIRTUAL_VALUE")
|
||||
@ApiParam("SPEL表达式虚拟属性")
|
||||
private String spelVirtualValue;
|
||||
|
||||
}
|
@ -0,0 +1,48 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/12 下午4:26
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_MODEL_FIELD_CONSTRAINT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("model字段约束")
|
||||
public class ScrModelFieldConstraint extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 5020158684534641672L;
|
||||
|
||||
@Column(name = "MODEL_CODE")
|
||||
@ApiParam("model代码")
|
||||
private String modelCode;
|
||||
|
||||
@Column(name = "CONSTRAINT_TYPE")
|
||||
@ApiParam("约束类型")
|
||||
private String constraintType;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
}
|
@ -0,0 +1,53 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/12 下午4:30
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_MODEL_FIELD_VIRTUAL")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("model虚拟字段")
|
||||
public class ScrModelFieldVirtual extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -7756539161394751580L;
|
||||
|
||||
@Column(name = "MODEL_CODE")
|
||||
@ApiParam("model代码")
|
||||
private String modelCode;
|
||||
|
||||
@Column(name = "VIRTUAL_FIELD_NAME")
|
||||
@ApiParam("虚拟字段名称")
|
||||
private String virtualFieldName;
|
||||
|
||||
@Column(name = "SPEL_CALC_EXPRESSION")
|
||||
@ApiParam("SPEL计算表达式")
|
||||
private String spelCalcExpression;
|
||||
|
||||
@Column(name = "GROUP_NO")
|
||||
@ApiParam("组号")
|
||||
private Integer groupNo;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
}
|
@ -0,0 +1,47 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午7:50
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_PANEL")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Panel")
|
||||
public class ScrPanel extends BaseBean implements Serializable {
|
||||
|
||||
@Column(name = "PANEL_CODE")
|
||||
@ApiParam("Panel代码")
|
||||
private String panelCode;
|
||||
|
||||
@Column(name = "PANEL_NAME")
|
||||
@ApiParam("Panel名称")
|
||||
private String panelName;
|
||||
|
||||
@Column(name = "LAYOUT_CODE")
|
||||
@ApiParam("布局代码")
|
||||
private String layoutCode;
|
||||
|
||||
@Column(name = "USAGE_AMOUNT")
|
||||
@ApiParam("使用数量")
|
||||
private Integer usageAmount;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午5:01
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_PANEL_LAYOUT_COLUMN")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Panel布局-列")
|
||||
public class ScrPanelLayoutColumn extends ScrLayoutColumn implements Serializable {
|
||||
private static final long serialVersionUID = 6577099884589179886L;
|
||||
|
||||
@Column(name = "COMPONENT_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String componentCode;
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午8:42
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_PANEL_MODEL")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Panel与Model的关系")
|
||||
public class ScrPanelModel extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6998319452471117206L;
|
||||
|
||||
@Column(name = "PANEL_MODEL_CODE")
|
||||
@ApiParam("Panel与Model的关系代码")
|
||||
private String panelModelCode;
|
||||
|
||||
@Column(name = "PANEL_CODE")
|
||||
@ApiParam("Panel代码")
|
||||
private String panelCode;
|
||||
|
||||
@Column(name = "MODEL_CODE")
|
||||
@ApiParam("Model代码")
|
||||
private String modelCode;
|
||||
|
||||
}
|
@ -0,0 +1,42 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午8:42
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_PANEL_MODEL_COMPONENT")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Panel与Model组件的关系")
|
||||
public class ScrPanelModelComponent extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = 2011504067317832781L;
|
||||
|
||||
@Column(name = "PANEL_MODEL_CODE")
|
||||
@ApiParam("Panel与Model的关系代码")
|
||||
private String panelModelCode;
|
||||
|
||||
@Column(name = "COMPONENT_CODE")
|
||||
@ApiParam("组件代码")
|
||||
private String componentCode;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,85 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午8:42
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_PANEL_MODEL_FIELD")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Panel与Model字段的关系")
|
||||
public class ScrPanelModelField extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -3441031841089357196L;
|
||||
|
||||
@Column(name = "PANEL_MODEL_CODE")
|
||||
@ApiParam("Panel与Model的关系代码")
|
||||
private String panelModelCode;
|
||||
|
||||
@Column(name = "FIELD_CODE")
|
||||
@ApiParam("字段代码")
|
||||
private String fieldCode;
|
||||
|
||||
@Column(name = "IS_FUZZY_SEARCH")
|
||||
@ApiParam("是否支持模糊查询")
|
||||
private Boolean isFuzzySearch;
|
||||
|
||||
@Column(name = "IS_SHOW_IN_NEW")
|
||||
@ApiParam("是否在新增时展示")
|
||||
private Boolean isShowInNew;
|
||||
|
||||
@Column(name = "IS_SHOW_IN_EDIT")
|
||||
@ApiParam("是否在编辑时展示")
|
||||
private Boolean isShowInEdit;
|
||||
|
||||
@Column(name = "IS_ALLOW_SORT")
|
||||
@ApiParam("是否支持排序")
|
||||
private Boolean isAllowSort;
|
||||
|
||||
@Column(name = "FORM_SEQ")
|
||||
@ApiParam("表单顺序")
|
||||
private Integer formSeq;
|
||||
|
||||
@Column(name = "TABLE_SEQ")
|
||||
@ApiParam("表格顺序")
|
||||
private Integer tableSeq;
|
||||
|
||||
@Column(name = "VALIDATION")
|
||||
@ApiParam("校验")
|
||||
private String validation;
|
||||
|
||||
@Column(name = "DICTIONARY")
|
||||
@ApiParam("字典")
|
||||
private String dictionary;
|
||||
|
||||
@Column(name = "IS_VIRTUAL")
|
||||
@ApiParam("是否是虚拟的")
|
||||
private boolean isVirtual;
|
||||
|
||||
@Column(name = "FIELD_NAME")
|
||||
@ApiParam("字段名称")
|
||||
private String fieldName;
|
||||
|
||||
@Column(name = "SPEL_VIRTUAL_VALUE")
|
||||
@ApiParam("SPEL表达式虚拟属性")
|
||||
private String spelVirtualValue;
|
||||
|
||||
}
|
@ -0,0 +1,49 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/22 下午7:47
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_SCREEN")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("页面")
|
||||
public class ScrScreen extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -6755902986892118213L;
|
||||
|
||||
@Column(name = "SCREEN_CODE")
|
||||
@ApiParam("页面代码")
|
||||
private String screenCode;
|
||||
|
||||
@Column(name = "SCREEN_NAME")
|
||||
@ApiParam("页面名称")
|
||||
private String screenName;
|
||||
|
||||
@Column(name = "SCREEN_VERSION")
|
||||
@ApiParam("页面版本")
|
||||
private String screenVersion;
|
||||
|
||||
@Column(name = "LAYOUT_CODE")
|
||||
@ApiParam("布局代码")
|
||||
private String layoutCode;
|
||||
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
package cn.estsh.i3plus.pojo.screen.bean;
|
||||
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午5:01
|
||||
* @desc
|
||||
*/
|
||||
@Entity
|
||||
@Table(name = "SCR_SCREEN_LAYOUT_COLUMN")
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@Api("Screen布局-列")
|
||||
public class ScrScreenLayoutColumn extends ScrLayoutColumn implements Serializable {
|
||||
private static final long serialVersionUID = 4084273106415805804L;
|
||||
|
||||
@Column(name = "PANEL_CODE")
|
||||
@ApiParam("Panel代码")
|
||||
private String panelCode;
|
||||
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午1:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Pagination {
|
||||
|
||||
private Integer pageSize;
|
||||
|
||||
private Integer totalCount;
|
||||
|
||||
private Integer currentPage;
|
||||
|
||||
private Integer offset;
|
||||
}
|
@ -0,0 +1,23 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrModel;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrModelField;
|
||||
import cn.estsh.i3plus.pojo.screen.model.component.AbstractComponent;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午1:14
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class PanelModelField {
|
||||
|
||||
private ScrModel model;
|
||||
|
||||
private List<ScrModelField> modelFields;
|
||||
|
||||
private AbstractComponent component;
|
||||
}
|
@ -0,0 +1,26 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:32
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public abstract class AbstractComponent extends AbstractContainer {
|
||||
|
||||
private static final long serialVersionUID = 6768391193506016205L;
|
||||
private String cssStyle;
|
||||
|
||||
private String name;
|
||||
|
||||
private Integer tabIndex;
|
||||
|
||||
private List<ScrEventAction> eventAction;
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import cn.estsh.i3plus.pojo.screen.bean.ScrEventAction;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:27
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public abstract class AbstractContainer extends BaseBean {
|
||||
private static final long serialVersionUID = 7696523743371800661L;
|
||||
|
||||
private String background;
|
||||
|
||||
private String cssStyle;
|
||||
|
||||
private List<ScrEventAction> eventAction;
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public abstract class AbstractView extends AbstractComponent {
|
||||
|
||||
private String jsEnhance;
|
||||
|
||||
private Map<String, String> viewTemplateMap;
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public abstract class AbstractWidget extends AbstractComponent {
|
||||
|
||||
private String labelText;
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:31
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class BarChart extends Chart {
|
||||
|
||||
private List<Object> xAxis;
|
||||
|
||||
private List<Object> yAxis;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Button extends AbstractWidget {
|
||||
|
||||
private String icon;
|
||||
|
||||
private String type;
|
||||
|
||||
private String size;
|
||||
|
||||
private String onClick;
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:31
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Cascader extends AbstractWidget{
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:31
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Chart extends AbstractWidget {
|
||||
private Integer autoRefreshInterval;
|
||||
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:32
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class DatetimePicker extends AbstractWidget {
|
||||
|
||||
private String dateFormat;
|
||||
|
||||
private Boolean isMultiPicker;
|
||||
|
||||
private String beginDatetime;
|
||||
|
||||
private String defaultBeginDatetime;
|
||||
|
||||
private String endDatetime;
|
||||
|
||||
private String defaultEndDatetime;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Form extends AbstractView{
|
||||
|
||||
private Map<String,String> fields;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:31
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Label extends AbstractWidget {
|
||||
|
||||
private String text;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:31
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class LineChart extends Chart {
|
||||
|
||||
private List<Object> xAxis;
|
||||
|
||||
private List<Object> yAxis;
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:31
|
||||
* @desc
|
||||
*/
|
||||
|
||||
@Data
|
||||
public class PieChart extends Chart {
|
||||
|
||||
private Map<String, Double> data;
|
||||
}
|
@ -0,0 +1,19 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午2:04
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Preview extends AbstractWidget {
|
||||
|
||||
private String type;
|
||||
|
||||
/**
|
||||
* new blank ,dialog, preview
|
||||
*/
|
||||
private String previewType;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import cn.estsh.i3plus.pojo.screen.model.Pagination;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:29
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Table extends AbstractView {
|
||||
|
||||
private Integer autoRefreshInterval = 0;
|
||||
|
||||
private Boolean isShowChoice;
|
||||
|
||||
private Boolean isPagination;
|
||||
|
||||
private Pagination defaultPagination;
|
||||
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:32
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Text extends AbstractWidget {
|
||||
|
||||
private String placeholder;
|
||||
|
||||
private String defaultValue;
|
||||
|
||||
private String validation;
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:30
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Tree extends AbstractView {
|
||||
|
||||
private String parentField;
|
||||
|
||||
private String showField;
|
||||
|
||||
private List<Object> data;
|
||||
}
|
@ -0,0 +1,22 @@
|
||||
package cn.estsh.i3plus.pojo.screen.model.component;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* @author Wynne.Lu
|
||||
* @date 2021/3/11 下午12:32
|
||||
* @desc
|
||||
*/
|
||||
@Data
|
||||
public class Upload extends AbstractWidget {
|
||||
|
||||
private Boolean isAllowDraw;
|
||||
|
||||
private Boolean maxFileCount;
|
||||
/**
|
||||
* jpg,file
|
||||
*/
|
||||
private String type;
|
||||
|
||||
private Long maxFileSize;
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository.mesdata;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsStockSn;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.mesdata.WmsSendPartCheck;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 库存条码dao层
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2018-11-17 15:53
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsSendPartCheckRepository extends BaseRepository<WmsSendPartCheck, Long> {
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
package cn.estsh.i3plus.pojo.wms.repository.mesdata;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.WmsStockSn;
|
||||
import cn.estsh.i3plus.pojo.wms.bean.mesdata.WmsSendSnCheck;
|
||||
import org.springframework.data.jpa.repository.Query;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description : 库存条码dao层
|
||||
* @Reference :
|
||||
* @Author : dragon.xu
|
||||
* @CreateDate : 2018-11-17 15:53
|
||||
* @Modify:
|
||||
**/
|
||||
public interface WmsSendSnCheckRepository extends BaseRepository<WmsSendSnCheck, Long> {
|
||||
}
|
Loading…
Reference in New Issue