|
|
|
@ -2,7 +2,8 @@ package cn.estsh.i3plus.pojo.mes.bean;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.annotation.UseMongoDb;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.annotation.ElasticSearch;
|
|
|
|
|
import cn.estsh.i3plus.pojo.mes.annotation.Json4Es;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
|
import lombok.Data;
|
|
|
|
@ -10,11 +11,7 @@ import lombok.EqualsAndHashCode;
|
|
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
import org.hibernate.annotations.DynamicUpdate;
|
|
|
|
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
|
|
import javax.persistence.Entity;
|
|
|
|
|
import javax.persistence.Index;
|
|
|
|
|
import javax.persistence.Table;
|
|
|
|
|
import javax.persistence.Transient;
|
|
|
|
|
import javax.persistence.*;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @Description :生产数据
|
|
|
|
@ -34,7 +31,7 @@ import javax.persistence.Transient;
|
|
|
|
|
@Index(columnList = "OBJECT_CODE"),
|
|
|
|
|
@Index(columnList = "MODIFY_DATE_TIME")
|
|
|
|
|
})
|
|
|
|
|
//@UseMongoDb
|
|
|
|
|
@ElasticSearch
|
|
|
|
|
@Api("生产数据")
|
|
|
|
|
public class MesProductData extends BaseBean {
|
|
|
|
|
@Column(name = "WORK_CENTER_CODE")
|
|
|
|
@ -109,6 +106,12 @@ public class MesProductData extends BaseBean {
|
|
|
|
|
@ApiParam("数据组号")
|
|
|
|
|
private String groupNo;
|
|
|
|
|
|
|
|
|
|
@Json4Es
|
|
|
|
|
@Column(name = "TEST_DATA")
|
|
|
|
|
@ApiParam("测试json数据")
|
|
|
|
|
private String testData;
|
|
|
|
|
|
|
|
|
|
@Lob
|
|
|
|
|
@Transient
|
|
|
|
|
@ApiParam("字段总数")
|
|
|
|
|
private Integer fieldNum;
|
|
|
|
|