zss
2023-07-27 0e1722e96e5483d560eda8f1cf96282955d4f224
inspection-server/src/main/java/com/yuanchu/limslaboratory/pojo/Inspection.java
@@ -10,8 +10,11 @@
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;
/**
 * <p>
@@ -22,6 +25,9 @@
 * @since 2023-07-17
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Inspection对象", description="")
public class Inspection implements Serializable {
@@ -30,6 +36,9 @@
    @ApiModelProperty(value = "报检编号")
    private String id;
    @ApiModelProperty(value = "报检类型")
    private Integer type;
    @ApiModelProperty(value = "报检状态 1:已检验;0未检验")
    private Integer inspectionStatus;
@@ -64,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;
    }
}