/*
|
* Copyright (c) 2018-2025, ztt All rights reserved.
|
*
|
* Redistribution and use in source and binary forms, with or without
|
* modification, are permitted provided that the following conditions are met:
|
*
|
* Redistributions of source code must retain the above copyright notice,
|
* this list of conditions and the following disclaimer.
|
* Redistributions in binary form must reproduce the above copyright
|
* notice, this list of conditions and the following disclaimer in the
|
* documentation and/or other materials provided with the distribution.
|
* Neither the name of the pig4cloud.com developer nor the names of its
|
* contributors may be used to endorse or promote products derived from
|
* this software without specific prior written permission.
|
* Author: ztt
|
*/
|
|
package com.chinaztt.mes.quality.entity;
|
|
import com.baomidou.mybatisplus.annotation.FieldStrategy;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.extension.activerecord.Model;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
|
import java.math.BigDecimal;
|
import java.time.LocalDateTime;
|
|
/**
|
* 检测申请材料表
|
*
|
* @author cxf
|
* @date 2021-04-01 13:34:51
|
*/
|
@Data
|
@TableName("quality_apply_part")
|
@EqualsAndHashCode(callSuper = true)
|
@ApiModel(value = "检测申请材料表")
|
public class ApplyPart extends Model<ApplyPart> {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
@TableId
|
@ApiModelProperty(value = "id")
|
private Long id;
|
/**
|
* 申请表id
|
*/
|
@ApiModelProperty(value = "申请表id")
|
private Long applyId;
|
/**
|
* 汇报表id
|
*/
|
@ApiModelProperty(value = "汇报表id")
|
private Long reportId;
|
/**
|
* 系统号(唯一)
|
*/
|
@ApiModelProperty(value = "系统号(唯一)")
|
private String systemNo;
|
/**
|
* 零件id
|
*/
|
@ApiModelProperty(value = "零件id")
|
private Long partId;
|
/**
|
* 是否检测合格escortDetail
|
*/
|
@ApiModelProperty(value = "是否检测合格")
|
@TableField(updateStrategy = FieldStrategy.IGNORED)
|
private Boolean isQualified;
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
/**
|
* 是否erp库存(否就是产出)
|
*/
|
@ApiModelProperty(value = "是否erp库存(否就是产出)")
|
private Boolean isErp;
|
/**
|
* 零件号
|
*/
|
@ApiModelProperty(value = "零件号")
|
private String partNo;
|
/**
|
* 零件描述
|
*/
|
@ApiModelProperty(value = "零件描述")
|
private String partDesc;
|
/**
|
* 库存已有数量
|
*/
|
@ApiModelProperty(value = "库存已有数量")
|
private String qtyArrived;
|
/**
|
* 要检验的采购数量
|
*/
|
@ApiModelProperty(value = "要检验的采购数量")
|
private String qtyToInspect;
|
/**
|
* 批号
|
*/
|
@ApiModelProperty(value = "批号")
|
private String lotBatchNo;
|
/**
|
* 订单号
|
*/
|
@ApiModelProperty(value = "订单号")
|
private String orderNo;
|
/**
|
* 行号
|
*/
|
@ApiModelProperty(value = "行号")
|
private String lineNo;
|
/**
|
* 下达号
|
*/
|
@ApiModelProperty(value = "下达号")
|
private String releaseNo;
|
/**
|
* 接收号
|
*/
|
@ApiModelProperty(value = "接收号")
|
private String receiptNo;
|
/**
|
* 供应商编号
|
*/
|
@ApiModelProperty(value = "供应商编号")
|
private String supplierId;
|
/**
|
* 供应商名称
|
*/
|
@ApiModelProperty(value = "供应商名称")
|
private String supplierName;
|
/**
|
* wdr号
|
*/
|
@ApiModelProperty(value = "wdr号")
|
private String waivDevRejNo;
|
/**
|
* 库位号
|
*/
|
@ApiModelProperty(value = "库位号")
|
private String locationNo;
|
/**
|
* 检测标准编号(计划)
|
*/
|
@ApiModelProperty(value = "检测标准编号(计划)")
|
private String testStandardNo;
|
/**
|
* 不合格数量
|
*/
|
@ApiModelProperty(value = "不合格数量")
|
private String unqualifiedArrived;
|
/**
|
* 序列号
|
*/
|
@ApiModelProperty(value = "序列号")
|
private String serialNo;
|
/**
|
* 是否erp库存(否就是产出)
|
*/
|
@ApiModelProperty(value = "")
|
private String engChgLevel;
|
/**
|
* 是否erp库存(否就是产出)
|
*/
|
@ApiModelProperty(value = "")
|
private BigDecimal activitySeq;
|
/**
|
* 制造订单-检测标准id
|
*/
|
@ApiModelProperty(value = "制造订单-检测标准id")
|
private Long moTestStandardId;
|
/**
|
* 工序id
|
*/
|
@ApiModelProperty(value = "工序id")
|
private Long operationId;
|
/**
|
* 总长度
|
*/
|
@ApiModelProperty(value = "总长度")
|
private BigDecimal totalLength;
|
/**
|
* 入库数量=合格数量+不合格数量
|
*/
|
@ApiModelProperty(value = "入库数量=合格数量+不合格数量")
|
private BigDecimal checkLength;
|
/**
|
* 检测报废长度
|
*/
|
@ApiModelProperty(value = "检测报废长度")
|
private BigDecimal scrapArrived;
|
/**
|
* 替代零件id
|
*/
|
@ApiModelProperty(value = "替代零件id")
|
private Long replacePartId;
|
/**
|
* 替代零件号
|
*/
|
@ApiModelProperty(value = "替代零件号")
|
private String replacePartNo;
|
/**
|
* 替代零件名称
|
*/
|
@ApiModelProperty(value = "替代零件名称")
|
private String replacePartName;
|
/**
|
* 检验员
|
*/
|
@ApiModelProperty(value = "检验员")
|
private String examiner;
|
/**
|
* 测量器具
|
*/
|
@ApiModelProperty(value = "测量器具")
|
private String measuringInstrument;
|
/**
|
* 库存id
|
*/
|
@ApiModelProperty(value = "库存id")
|
private Long stockId;
|
/**
|
* 原库位id
|
*/
|
@ApiModelProperty(value = "原库位id")
|
private Long sourceLocationId;
|
/**
|
* 目标合格库位id
|
*/
|
@ApiModelProperty(value = "目标合格库位id")
|
private Long targetQualifiedLocationId;
|
/**
|
* 目标不合格库位id
|
*/
|
@ApiModelProperty(value = "目标不合格库位id")
|
private Long targetUnqualifiedLocationId;
|
/**
|
* 检测长度
|
*/
|
@ApiModelProperty(value = "检测长度")
|
private BigDecimal sampleCheckLength;
|
/**
|
* 温度
|
*/
|
@ApiModelProperty(value = "温度")
|
private BigDecimal temperature;
|
/**
|
* 同步ifs类型
|
*/
|
@ApiModelProperty(value = "同步ifs类型")
|
private String syncIfsType;
|
}
|