package cn.stylefeng.guns.modular.sm.scrapCategoryRecord.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; /** *

* 报废记录 *

* * @author ruimin * @since 2023-02-23 */ @TableName("sm_scrap_category_record") public class ScrapCategoryRecord implements Serializable { private static final long serialVersionUID=1L; /** * 主键id */ @TableId(value = "id", type = IdType.AUTO) private Long id; /** * 生产工单号 */ @TableField("work_order_no") private String workOrderNo; /** * 总成序列号 */ @TableField("sfc_code") private String sfcCode; /** * 产线编号 */ @TableField("line_code") private String lineCode; /** * 产线名称 */ @TableField("line_name") private String lineName; /** * 工位编号 */ @TableField("location_code") private String locationCode; /** * 工位名称 */ @TableField("location_name") private String locationName; /** * 报废类目 */ @TableField("scrap_category") private String scrapCategory; /** * 报废数量 */ @TableField("scrap_quantity") private Integer scrapQuantity; /** * 报废原因 */ @TableField("scrap_reason") private String scrapReason; /** * 操作用户 */ @TableField("operate_user") private String operateUser; /** * 预留字段1 */ @TableField("spare_field_1") private String spareField1; /** * 预留字段2 */ @TableField("spare_field_2") private String spareField2; /** * 备注 */ @TableField("remarks") private String remarks; /** * 创建用户 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private String createUser; /** * 更改用户 */ @TableField(value = "update_user", fill = FieldFill.UPDATE) private String updateUser; /** * 更改时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 报废时间 */ // @TableField("scrap_time") @TableField(value = "scrap_time", fill = FieldFill.INSERT) private Date scrapTime; 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 getLineCode() { return lineCode; } public void setLineCode(String lineCode) { this.lineCode = lineCode; } public String getLineName() { return lineName; } public void setLineName(String lineName) { this.lineName = lineName; } 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 getScrapCategory() { return scrapCategory; } public void setScrapCategory(String scrapCategory) { this.scrapCategory = scrapCategory; } public Integer getScrapQuantity() { return scrapQuantity; } public void setScrapQuantity(Integer scrapQuantity) { this.scrapQuantity = scrapQuantity; } public String getScrapReason() { return scrapReason; } public void setScrapReason(String scrapReason) { this.scrapReason = scrapReason; } public String getOperateUser() { return operateUser; } public void setOperateUser(String operateUser) { this.operateUser = operateUser; } 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 getRemarks() { return remarks; } public void setRemarks(String remarks) { this.remarks = remarks; } public String getCreateUser() { return createUser; } public void setCreateUser(String createUser) { this.createUser = createUser; } 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; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getScrapTime() { return scrapTime; } public void setScrapTime(Date scrapTime) { this.scrapTime = scrapTime; } @Override public String toString() { return "ScrapCategoryRecord{" + "id=" + id + ", workOrderNo=" + workOrderNo + ", sfcCode=" + sfcCode + ", lineCode=" + lineCode + ", lineName=" + lineName + ", locationCode=" + locationCode + ", locationName=" + locationName + ", scrapCategory=" + scrapCategory + ", scrapQuantity=" + scrapQuantity + ", scrapReason=" + scrapReason + ", operateUser=" + operateUser + ", spareField1=" + spareField1 + ", spareField2=" + spareField2 + ", remarks=" + remarks + ", createUser=" + createUser + ", updateUser=" + updateUser + ", updateTime=" + updateTime + ", createTime=" + createTime + ", scrapTime=" + scrapTime + "}"; } }