package cn.stylefeng.guns.modular.qc.badCollection.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.FieldFill;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 不良数据采集
|
* </p>
|
*
|
* @author ruimin
|
* @since 2023-03-11
|
*/
|
@TableName("qc_bad_collection")
|
public class BadCollection implements Serializable {
|
|
private static final long serialVersionUID=1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id", type = IdType.ID_WORKER)
|
private Long id;
|
|
/**
|
* 工单编号
|
*/
|
@TableField("work_order_no")
|
private String workOrderNo;
|
|
/**
|
* 总成序列号
|
*/
|
@TableField("sfc_code")
|
private String sfcCode;
|
|
/**
|
* 车间编码
|
*/
|
@TableField("workshop_code")
|
private String workshopCode;
|
|
/**
|
* 产品编号
|
*/
|
@TableField("product_code")
|
private String productCode;
|
|
/**
|
* 产线编号
|
*/
|
@TableField("production_line")
|
private String productionLine;
|
|
/**
|
* 工位编号
|
*/
|
@TableField("location_code")
|
private String locationCode;
|
|
/**
|
* 设备编号
|
*/
|
@TableField("equipment_no")
|
private String equipmentNo;
|
|
/**
|
* 不良类型编码
|
*/
|
@TableField("type_code")
|
private String typeCode;
|
|
/**
|
* 不良类型名称
|
*/
|
@TableField("type_name")
|
private String typeName;
|
|
/**
|
* 不良原因编码
|
*/
|
@TableField("bad_code")
|
private String badCode;
|
|
/**
|
* 不良原因
|
*/
|
@TableField("bad_desc")
|
private String badDesc;
|
|
/**
|
* 采集时间
|
*/
|
@TableField("collection_time")
|
private Date collectionTime;
|
|
/**
|
* 采集用户
|
*/
|
@TableField("collection_user")
|
private String collectionUser;
|
|
/**
|
* 预留字段1
|
*/
|
@TableField("spare_field_1")
|
private String spareField1;
|
|
/**
|
* 预留字段2
|
*/
|
@TableField("spare_field_2")
|
private String spareField2;
|
|
/**
|
* 创建用户
|
*/
|
@TableField(value = "create_user", fill = FieldFill.INSERT)
|
private String createUser;
|
|
/**
|
* 创建时间
|
*/
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
private Date createTime;
|
|
/**
|
* 更改用户
|
*/
|
@TableField(value = "update_user", fill = FieldFill.UPDATE)
|
private String updateUser;
|
|
/**
|
* 更改时间
|
*/
|
@TableField(value = "update_time", fill = FieldFill.UPDATE)
|
private Date updateTime;
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getWorkOrderNo() {
|
return workOrderNo;
|
}
|
|
public void setWorkOrderNo(String workOrderNo) {
|
this.workOrderNo = workOrderNo;
|
}
|
|
public String getSfcCode() {
|
return sfcCode;
|
}
|
|
public void setSfcCode(String sfcCode) {
|
this.sfcCode = sfcCode;
|
}
|
|
public String getWorkshopCode() {
|
return workshopCode;
|
}
|
|
public void setWorkshopCode(String workshopCode) {
|
this.workshopCode = workshopCode;
|
}
|
|
public String getProductCode() {
|
return productCode;
|
}
|
|
public void setProductCode(String productCode) {
|
this.productCode = productCode;
|
}
|
|
public String getProductionLine() {
|
return productionLine;
|
}
|
|
public void setProductionLine(String productionLine) {
|
this.productionLine = productionLine;
|
}
|
|
public String getLocationCode() {
|
return locationCode;
|
}
|
|
public void setLocationCode(String locationCode) {
|
this.locationCode = locationCode;
|
}
|
|
public String getEquipmentNo() {
|
return equipmentNo;
|
}
|
|
public void setEquipmentNo(String equipmentNo) {
|
this.equipmentNo = equipmentNo;
|
}
|
|
public String getTypeCode() {
|
return typeCode;
|
}
|
|
public void setTypeCode(String typeCode) {
|
this.typeCode = typeCode;
|
}
|
|
public String getTypeName() {
|
return typeName;
|
}
|
|
public void setTypeName(String typeName) {
|
this.typeName = typeName;
|
}
|
|
public String getBadCode() {
|
return badCode;
|
}
|
|
public void setBadCode(String badCode) {
|
this.badCode = badCode;
|
}
|
|
public String getBadDesc() {
|
return badDesc;
|
}
|
|
public void setBadDesc(String badDesc) {
|
this.badDesc = badDesc;
|
}
|
|
public Date getCollectionTime() {
|
return collectionTime;
|
}
|
|
public void setCollectionTime(Date collectionTime) {
|
this.collectionTime = collectionTime;
|
}
|
|
public String getCollectionUser() {
|
return collectionUser;
|
}
|
|
public void setCollectionUser(String collectionUser) {
|
this.collectionUser = collectionUser;
|
}
|
|
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 getCreateUser() {
|
return createUser;
|
}
|
|
public void setCreateUser(String createUser) {
|
this.createUser = createUser;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateUser() {
|
return updateUser;
|
}
|
|
public void setUpdateUser(String updateUser) {
|
this.updateUser = updateUser;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
@Override
|
public String toString() {
|
return "BadCollection{" +
|
"id=" + id +
|
", workOrderNo=" + workOrderNo +
|
", sfcCode=" + sfcCode +
|
", workshopCode=" + workshopCode +
|
", productCode=" + productCode +
|
", productionLine=" + productionLine +
|
", locationCode=" + locationCode +
|
", equipmentNo=" + equipmentNo +
|
", typeCode=" + typeCode +
|
", typeName=" + typeName +
|
", badCode=" + badCode +
|
", badDesc=" + badDesc +
|
", collectionTime=" + collectionTime +
|
", collectionUser=" + collectionUser +
|
", spareField1=" + spareField1 +
|
", spareField2=" + spareField2 +
|
", createUser=" + createUser +
|
", createTime=" + createTime +
|
", updateUser=" + updateUser +
|
", updateTime=" + updateTime +
|
"}";
|
}
|
}
|