Merge branch 'ext-dev' of andly.pan/i3plus-pojo into ext-dev
commit
e010d433b8
@ -0,0 +1,76 @@
|
|||||||
|
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:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2021/3/4 7:16 PM
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Inheritance(strategy = InheritanceType.JOINED)
|
||||||
|
@Table(name = "MES_QUARANTINE_RECORD", indexes = {
|
||||||
|
@Index(columnList = "SERIAL_NUMBER"),
|
||||||
|
@Index(columnList = "PART_NO")
|
||||||
|
})
|
||||||
|
@Api("隔离记录表")
|
||||||
|
public class MesQuarantineRecord extends BaseBean {
|
||||||
|
private static final long serialVersionUID = -4667731056014803186L;
|
||||||
|
|
||||||
|
@Column(name = "SERIAL_NUMBER")
|
||||||
|
@ApiParam("过程条码")
|
||||||
|
private String serialNumber;
|
||||||
|
|
||||||
|
@Column(name = "PART_NO")
|
||||||
|
@ApiParam("零件号")
|
||||||
|
private String partNo;
|
||||||
|
|
||||||
|
@Column(name = "PART_NAME")
|
||||||
|
@ApiParam("零件名称")
|
||||||
|
private String partName;
|
||||||
|
|
||||||
|
@Column(name = "QTY")
|
||||||
|
@ApiParam("用量")
|
||||||
|
private Integer qty;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CELL_CODE")
|
||||||
|
@ApiParam("工作单元代码")
|
||||||
|
private String workCellCode;
|
||||||
|
|
||||||
|
@Column(name = "WORK_CENTER_CODE")
|
||||||
|
@ApiParam("工作中心")
|
||||||
|
private String workCenterCode;
|
||||||
|
|
||||||
|
@Column(name = "DEFECT_CODE")
|
||||||
|
@ApiParam("缺陷代码")
|
||||||
|
private String defectCode;
|
||||||
|
|
||||||
|
@Column(name = "DC_CODE")
|
||||||
|
@ApiParam("缺陷原因代码")
|
||||||
|
private String dcCode;
|
||||||
|
|
||||||
|
@Column(name = "REPAIR_CODE")
|
||||||
|
@ApiParam("维修代码")
|
||||||
|
private String repairCode;
|
||||||
|
|
||||||
|
@Column(name = "QUARANTINE_NO")
|
||||||
|
@ApiParam("隔离单号")
|
||||||
|
private String quarantineNo;
|
||||||
|
|
||||||
|
@Column(name = "SCRAP_No")
|
||||||
|
@ApiParam("报废单号")
|
||||||
|
private String scrapNo;
|
||||||
|
}
|
@ -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.MesQuarantineRecord;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description:
|
||||||
|
* @Author: jokelin
|
||||||
|
* @Date: 2021/3/4 7:38 PM
|
||||||
|
* @Modify:
|
||||||
|
*/
|
||||||
|
public interface MesQuarantineRecordRepository extends BaseRepository<MesQuarantineRecord, Long> {
|
||||||
|
}
|
@ -0,0 +1,39 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.platform;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/2/20 下午4:39
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("日志字段模型")
|
||||||
|
public class LogFieldModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = 6303989757683476327L;
|
||||||
|
|
||||||
|
@ApiParam("日志时间")
|
||||||
|
private String time;
|
||||||
|
|
||||||
|
@ApiParam("线程")
|
||||||
|
private String thread;
|
||||||
|
|
||||||
|
@ApiParam("日志等级")
|
||||||
|
private String level;
|
||||||
|
|
||||||
|
@ApiParam("执行堆栈")
|
||||||
|
private String stack;
|
||||||
|
|
||||||
|
@ApiParam("日志信息")
|
||||||
|
private String message;
|
||||||
|
}
|
@ -0,0 +1,57 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.model.platform;
|
||||||
|
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.AllArgsConstructor;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author Wynne.Lu
|
||||||
|
* @date 2021/2/20 下午12:55
|
||||||
|
* @desc
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Builder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@Api("系统日志模型")
|
||||||
|
public class SysLogModel implements Serializable {
|
||||||
|
private static final long serialVersionUID = -2982120258911167575L;
|
||||||
|
|
||||||
|
@ApiParam("查询日期")
|
||||||
|
private String queryDate;
|
||||||
|
|
||||||
|
@ApiParam("查询开始时间")
|
||||||
|
private String queryBeginTime;
|
||||||
|
|
||||||
|
@ApiParam("查询结束时间")
|
||||||
|
private String queryEndTime;
|
||||||
|
|
||||||
|
@ApiParam("索引名称")
|
||||||
|
private String indexName;
|
||||||
|
|
||||||
|
@ApiParam("索引类型")
|
||||||
|
private Integer indexType;
|
||||||
|
|
||||||
|
@ApiParam("聚合时间")
|
||||||
|
private Integer aggsDuration;
|
||||||
|
|
||||||
|
@ApiParam("日志等级")
|
||||||
|
private Integer level;
|
||||||
|
|
||||||
|
@ApiParam("执行线程")
|
||||||
|
private String thread;
|
||||||
|
|
||||||
|
@ApiParam("服务器环境变量HostId")
|
||||||
|
private String hostId;
|
||||||
|
|
||||||
|
@ApiParam("日志信息")
|
||||||
|
private List<LogFieldModel> logs;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue