/*
 *      Copyright (c) 2018-2028, Chill Zhuang 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 dreamlu.net 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: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.pl.inspectionRecords.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 点检记录 实体类
 *
 * @author BladeX
 * @since 2024-02-03
 */
@Data
@TableName("pl_inspection_records")
@ApiModel(value = "InspectionRecords对象", description = "点检记录")
@EqualsAndHashCode(callSuper = true)
public class InspectionRecordsEntity extends TenantEntity {

	@JSONField(serializeUsing = ToStringSerializer.class)
	@ApiModelProperty("主键id")
	@TableId(
		value = "id",
		type = IdType.ASSIGN_ID
	)
	private Long id;

	/**
	 * 所属工厂
	 */
	@ApiModelProperty(value = "所属工厂")
	private Long factoryId;
	/**
	 * 设备id
	 */
	@ApiModelProperty(value = "设备id")
	private Long equipmentId;
	/**
	 * 设备序列号
	 */
	@ApiModelProperty(value = "设备序列号")
	private String eqSn;
	/**
	 * 商品id
	 */
	@ApiModelProperty(value = "商品id")
	private Long goodsId;
	/**
	 * 商品名称
	 */
	@ApiModelProperty(value = "商品名称")
	private String goodsName;
	/**
	 * 商品主条码
	 */
	@ApiModelProperty(value = "商品主条码")
	private String goodsCode;
	/**
	 * 产品图片
	 */
	@ApiModelProperty(value = "产品图片")
	private String goodsImage;
	/**
	 * ocr识别内容
	 */
	@ApiModelProperty(value = "ocr识别内容")
	private String ocrDetails;
	/**
	 * ocr已匹配物料
	 */
	@ApiModelProperty(value = "ocr已匹配物料")
	private String ocrSuccess;
	/**
	 * ocr未匹配物料
	 */
	@ApiModelProperty(value = "ocr未匹配物料")
	private String ocrFail;
	/**
	 * 识别结果
	 */
	@ApiModelProperty(value = "识别结果")
	private String ocrResult;

}
