添加MES_检验单和检验单明细实体与枚举
parent
5dcddb0010
commit
7ef769268d
@ -0,0 +1,85 @@
|
||||
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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QC_ORDER")
|
||||
@Api("MES_检验单")
|
||||
public class MesQcOrder extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -8961182786427690154L;
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("质检单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private BigDecimal qty;
|
||||
|
||||
@Column(name = "UNIT")
|
||||
@ApiParam("单位")
|
||||
private String unit;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("供应商代码")
|
||||
private String supplierCode;
|
||||
|
||||
@Column(name = "SRC_LOT_NO")
|
||||
@ApiParam("收货批次")
|
||||
private String srcLotNo;
|
||||
|
||||
@Column(name = "FIX_LOT_NO")
|
||||
@ApiParam("特殊批次")
|
||||
private String fixLotNo;
|
||||
|
||||
@Column(name = "RELATION_ORDER_NO")
|
||||
@ApiParam("关联单号")
|
||||
private String relationOrderNo;
|
||||
|
||||
@Column(name = "UUID")
|
||||
@ApiParam("数据唯一编号")
|
||||
private String uuId;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CHECK_RESULT")
|
||||
@ApiParam("检测整体结果")
|
||||
private Integer checkResult;
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
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.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_QC_ORDER")
|
||||
@Api("MES_检验单")
|
||||
public class MesQcOrderDetail extends BaseBean implements Serializable {
|
||||
private static final long serialVersionUID = -8961182786786500154L;
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("质检单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "CHECK_TYPE")
|
||||
@ApiParam("检测类型")
|
||||
private Integer checkType;
|
||||
|
||||
@Column(name = "CHECK_ITEM_TYPE")
|
||||
@ApiParam("检测项类型")
|
||||
private String checkItemType;
|
||||
|
||||
@Column(name = "CHECK_ITEM")
|
||||
@ApiParam("检测项")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "CHECK_STANDARD")
|
||||
@ApiParam("检测标准")
|
||||
private String checkStandard;
|
||||
|
||||
@Column(name = "CHECK_GUIDE")
|
||||
@ApiParam("检测指导")
|
||||
private String supplierCode;
|
||||
|
||||
@Column(name = "CHECK_FREQUENCY")
|
||||
@ApiParam("频率")
|
||||
private String checkFrequency;
|
||||
|
||||
@Column(name = "IS_CONCESSION")
|
||||
@ApiParam("是否允许让步")
|
||||
private String fixLotNo;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "CHECK_RESULT")
|
||||
@ApiParam("检测整体结果")
|
||||
private Integer checkResult;
|
||||
|
||||
@Column(name = "CHECK_VALUE")
|
||||
@ApiParam("检测值")
|
||||
private String checkValue;
|
||||
}
|
Loading…
Reference in New Issue