XiaoRuby
2023-07-26 cdaff9ab0d1b676e3b429171d6de0887c98f488c
inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/Inspection.java
@@ -10,8 +10,10 @@
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
/**
@@ -24,6 +26,8 @@
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Inspection对象", description="")
public class Inspection implements Serializable {
@@ -69,38 +73,11 @@
    @ApiModelProperty(value = "检验结束日期")
    private LocalDateTime inspectEndTime;
    @ApiModelProperty(value = "报检数量-物料数量")
    private Integer materialNum;
    @ApiModelProperty(value = "供应商")
    private String materialSupplier;
    @ApiModelProperty(value = "物料名称")
    private String materialName;
    @ApiModelProperty(value = "物料存放地")
    private String materialLocation;
    @ApiModelProperty(value = "物料批次")
    private String materialBatch;
    @ApiModelProperty(value = "物料盘号")
    private String materialReelNumber;
    @ApiModelProperty(value = "规格名称/型号名称")
    private String specificationsSerialNumber;
    @ApiModelProperty(value = "电压等级")
    private String specificationsVoltageLevel;
    @ApiModelProperty(value = "主线心截面")
    private String specificationsCrossSection;
    @ApiModelProperty(value = "主线芯芯数")
    private String specificationsNumberOfCores;
    @ApiModelProperty(value = "生产指令号")
    private String specificationsInstruct;
    public Inspection(Integer type, Integer inspectionStatus, Integer state, Integer version, String userName) {
        this.type = type;
        this.inspectionStatus = inspectionStatus;
        this.state = state;
        this.version = version;
        this.userName = userName;
    }
}