package cn.stylefeng.guns.modular.om.productionOrderRecords.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 报工记录
|
* </p>
|
*
|
* @author cl
|
* @since 2022-10-27
|
*/
|
@TableName("om_production_order_records")
|
public class ProductionOrderRecords implements Serializable {
|
|
private static final long serialVersionUID=1L;
|
|
/**
|
* ID
|
*/
|
@TableId(value = "id", type = IdType.ID_WORKER)
|
private Long id;
|
|
/**
|
* 产品序列号
|
*/
|
@TableField("product_no")
|
private String productNo;
|
|
/**
|
* 生产工单号
|
*/
|
@TableField("work_order_no")
|
private String workOrderNo;
|
|
/**
|
* 图号
|
*/
|
@TableField("drawing_no")
|
private String drawingNo;
|
|
/**
|
* 物料编号
|
*/
|
@TableField("material_code")
|
private String materialCode;
|
|
/**
|
* 物料描述
|
*/
|
@TableField("material_name")
|
private String materialName;
|
|
/**
|
* 工位编号
|
*/
|
@TableField("location_code")
|
private String locationCode;
|
|
/**
|
* 工位名称
|
*/
|
@TableField("location_name")
|
private String locationName;
|
|
/**
|
* 工位类型(1上线工位2过程工位3下线工位)
|
*/
|
@TableField("location_type")
|
private String locationType;
|
|
/**
|
* 生产数量
|
*/
|
@TableField("product_qty")
|
private Integer productQty;
|
|
/**
|
* 开始时间
|
*/
|
@TableField("start_time")
|
private Date startTime;
|
|
/**
|
* 结束时间
|
*/
|
@TableField("end_time")
|
private Date endTime;
|
|
/**
|
* 是否合格(1是0否)
|
*/
|
@TableField("whether_pass")
|
private String whetherPass;
|
|
/**
|
* 不合格原因
|
*/
|
@TableField("not_pass_reason")
|
private String notPassReason;
|
|
/**
|
* 操作用户
|
*/
|
@TableField("operation_user")
|
private String operationUser;
|
|
/**
|
* 预留字段1
|
*/
|
@TableField("spare_field_1")
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
@TableField("spare_field_2")
|
private String spareField2;
|
|
/**
|
* 预留字段3
|
*/
|
@TableField("spare_field_3")
|
private String spareField3;
|
|
/**
|
* 预留字段4
|
*/
|
@TableField("spare_field_4")
|
private String spareField4;
|
|
/**
|
* 备注
|
*/
|
@TableField("remarks")
|
private String remarks;
|
|
/**
|
* 顺序号
|
*/
|
@TableField("serial_number")
|
private Long serialNumber;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getProductNo() {
|
return productNo;
|
}
|
|
public void setProductNo(String productNo) {
|
this.productNo = productNo;
|
}
|
|
public String getWorkOrderNo() {
|
return workOrderNo;
|
}
|
|
public void setWorkOrderNo(String workOrderNo) {
|
this.workOrderNo = workOrderNo;
|
}
|
|
public String getDrawingNo() {
|
return drawingNo;
|
}
|
|
public void setDrawingNo(String drawingNo) {
|
this.drawingNo = drawingNo;
|
}
|
|
public String getMaterialCode() {
|
return materialCode;
|
}
|
|
public void setMaterialCode(String materialCode) {
|
this.materialCode = materialCode;
|
}
|
|
public String getMaterialName() {
|
return materialName;
|
}
|
|
public void setMaterialName(String materialName) {
|
this.materialName = materialName;
|
}
|
|
public String getLocationCode() {
|
return locationCode;
|
}
|
|
public void setLocationCode(String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
public String getLocationName() {
|
return locationName;
|
}
|
|
public void setLocationName(String locationName) {
|
this.locationName = locationName;
|
}
|
|
public String getLocationType() {
|
return locationType;
|
}
|
|
public void setLocationType(String locationType) {
|
this.locationType = locationType;
|
}
|
|
public Integer getProductQty() {
|
return productQty;
|
}
|
|
public void setProductQty(Integer productQty) {
|
this.productQty = productQty;
|
}
|
|
public Date getStartTime() {
|
return startTime;
|
}
|
|
public void setStartTime(Date startTime) {
|
this.startTime = startTime;
|
}
|
|
public Date getEndTime() {
|
return endTime;
|
}
|
|
public void setEndTime(Date endTime) {
|
this.endTime = endTime;
|
}
|
|
public String getWhetherPass() {
|
return whetherPass;
|
}
|
|
public void setWhetherPass(String whetherPass) {
|
this.whetherPass = whetherPass;
|
}
|
|
public String getNotPassReason() {
|
return notPassReason;
|
}
|
|
public void setNotPassReason(String notPassReason) {
|
this.notPassReason = notPassReason;
|
}
|
|
public String getOperationUser() {
|
return operationUser;
|
}
|
|
public void setOperationUser(String operationUser) {
|
this.operationUser = operationUser;
|
}
|
|
public String getSpareField1() {
|
return spareField1;
|
}
|
|
public void setSpareField1(String spareField1) {
|
this.spareField1 = spareField1;
|
}
|
|
public String getSpareField2() {
|
return spareField2;
|
}
|
|
public void setSpareField2(String spareField2) {
|
this.spareField2 = spareField2;
|
}
|
|
public String getSpareField3() {
|
return spareField3;
|
}
|
|
public void setSpareField3(String spareField3) {
|
this.spareField3 = spareField3;
|
}
|
|
public String getSpareField4() {
|
return spareField4;
|
}
|
|
public void setSpareField4(String spareField4) {
|
this.spareField4 = spareField4;
|
}
|
|
public String getRemarks() {
|
return remarks;
|
}
|
|
public void setRemarks(String remarks) {
|
this.remarks = remarks;
|
}
|
|
public Long getSerialNumber() {
|
return serialNumber;
|
}
|
|
public void setSerialNumber(Long serialNumber) {
|
this.serialNumber = serialNumber;
|
}
|
|
@Override
|
public String toString() {
|
return "ProductionOrderRecords{" +
|
"id=" + id +
|
", productNo=" + productNo +
|
", workOrderNo=" + workOrderNo +
|
", drawingNo=" + drawingNo +
|
", materialCode=" + materialCode +
|
", materialName=" + materialName +
|
", locationCode=" + locationCode +
|
", locationName=" + locationName +
|
", locationType=" + locationType +
|
", productQty=" + productQty +
|
", startTime=" + startTime +
|
", endTime=" + endTime +
|
", whetherPass=" + whetherPass +
|
", notPassReason=" + notPassReason +
|
", operationUser=" + operationUser +
|
", spareField1=" + spareField1 +
|
", spareField2=" + spareField2 +
|
", spareField3=" + spareField3 +
|
", spareField4=" + spareField4 +
|
", remarks=" + remarks +
|
", serialNumber=" + serialNumber +
|
"}";
|
}
|
}
|