Merge branch 'dev' into test
commit
23c59d4326
@ -0,0 +1,71 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CELL_FEED")
|
||||
@Api("工位投料信息")
|
||||
public class MesCellFeed extends BaseBean {
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "RAW_TYPE")
|
||||
@ApiParam("原料类型")
|
||||
private String rawType;
|
||||
|
||||
@Column(name = "RAW_SN")
|
||||
@ApiParam("原材料条码")
|
||||
private String rawSn;
|
||||
|
||||
@Column(name = "RAW_QTY")
|
||||
@ApiParam("特殊批次")
|
||||
private Long rawQty;
|
||||
|
||||
@Column(name = "LOT_NO")
|
||||
@ApiParam("关联批次")
|
||||
private String lotNo;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("供应商代码")
|
||||
private String supplierCode;
|
||||
|
||||
public long getRawQtyVal() {
|
||||
return this.rawQty == null ? 0l : this.rawQty;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_RAW_PART_SN")
|
||||
@Api("原材料信息")
|
||||
public class MesRawPartSn extends BaseBean {
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "RAW_TYPE")
|
||||
@ApiParam("原料类型")
|
||||
private String rawType;
|
||||
|
||||
@Column(name = "RAW_SN")
|
||||
@ApiParam("原材料条码")
|
||||
private String rawSn;
|
||||
|
||||
@Column(name = "RAW_QTY")
|
||||
@ApiParam("数量")
|
||||
private Long rawQty;
|
||||
|
||||
@Column(name = "LOT_NO")
|
||||
@ApiParam("生产批次")
|
||||
private String lotNo;
|
||||
|
||||
@Column(name = "FIX_LOT_NO")
|
||||
@ApiParam("特殊批次")
|
||||
private String fixLotNo;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("原料状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("供应商代码")
|
||||
private String supplierCode;
|
||||
|
||||
public long getRawQtyVal() {
|
||||
return this.rawQty == null ? 0l : this.rawQty;
|
||||
}
|
||||
|
||||
public int getStatusVal() {
|
||||
return this.status == null ? 0 : this.status;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,72 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CELL_FEED")
|
||||
@Api("工位投料信息")
|
||||
public class MesCellFeed extends BaseBean {
|
||||
@Column(name = "WORK_CENTER_CODE")
|
||||
@ApiParam("工作中心")
|
||||
private String workCenterCode;
|
||||
|
||||
@Column(name = "WORK_CELL_CODE")
|
||||
@ApiParam("工作单元")
|
||||
private String workCellCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "RAW_TYPE")
|
||||
@ApiParam("原料类型")
|
||||
private String rawType;
|
||||
|
||||
@Column(name = "RAW_SN")
|
||||
@ApiParam("原材料条码")
|
||||
private String rawSn;
|
||||
|
||||
@Column(name = "RAW_QTY")
|
||||
@ApiParam("特殊批次")
|
||||
private Long rawQty;
|
||||
|
||||
@Column(name = "LOT_NO")
|
||||
@ApiParam("关联批次")
|
||||
private String lotNo;
|
||||
|
||||
@Column(name = "SUPPLIER_CODE")
|
||||
@ApiParam("供应商代码")
|
||||
private String supplierCode;
|
||||
|
||||
|
||||
public long getRawQtyVal() {
|
||||
return this.rawQty == null ? 0l : this.rawQty;
|
||||
}
|
||||
|
||||
}
|
@ -0,0 +1,75 @@
|
||||
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;
|
||||
|
||||
/**
|
||||
* @Description :mes系统业务动作
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-12
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name="MES_RAW_PART_SN")
|
||||
@Api("原材料信息")
|
||||
public class MesRawPartSn extends BaseBean {
|
||||
@Column(name="PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name="PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name="RAW_TYPE")
|
||||
@ApiParam("原料类型")
|
||||
private String rawType;
|
||||
|
||||
@Column(name="RAW_SN")
|
||||
@ApiParam("原材料条码")
|
||||
private String rawSn;
|
||||
|
||||
@Column(name="RAW_QTY")
|
||||
@ApiParam("数量")
|
||||
private Long rawQty;
|
||||
|
||||
@Column(name="LOT_NO")
|
||||
@ApiParam("生产批次")
|
||||
private String lotNo;
|
||||
|
||||
@Column(name="FIX_LOT_NO")
|
||||
@ApiParam("特殊批次")
|
||||
private String fixLotNo;
|
||||
|
||||
@Column(name="STATUS")
|
||||
@ApiParam("原料状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name="SUPPLIER_CODE")
|
||||
@ApiParam("供应商代码")
|
||||
private String supplierCode;
|
||||
|
||||
public long getRawQtyVal() {
|
||||
return this.rawQty == null ? 0l : this.rawQty;
|
||||
}
|
||||
|
||||
public int getStatusVal() {
|
||||
return this.status == null ? 0 : this.status;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue