/*
 *      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.productRework.entity;

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 2023-12-05
 */
@Data
@TableName("pl_product_rework")
@ApiModel(value = "ProductRework对象", description = "产品返修表")
@EqualsAndHashCode(callSuper = true)
public class ProductReworkEntity extends TenantEntity {

	/**
	 * 所属工厂
	 */
	@ApiModelProperty(value = "所属工厂")
	private Long factoryId;
	/**
	 * 产品id
	 */
	@ApiModelProperty(value = "产品id")
	private Long productId;
	/**
	 * 产品二维码
	 */
	@ApiModelProperty(value = "产品二维码")
	private String qrCode;
	/**
	 * 产品型号id
	 */
	@ApiModelProperty(value = "产品型号id")
	private Long productModelId;
	/**
	 * 产品名称
	 */
	@ApiModelProperty(value = "产品名称")
	private String productName;
	/**
	 * 产品型号
	 */
	@ApiModelProperty(value = "产品型号")
	private String productModel;
	/**
	 * 维修时间
	 */
	@ApiModelProperty(value = "维修时间")
	private Date reworkDate;
	/**
	 * 审核时间
	 */
	@ApiModelProperty(value = "审核时间")
	private Date auditDate;
	/**
	 * 维修人
	 */
	@ApiModelProperty(value = "维修人")
	private String reworkPersonName;
	/**
	 * 审核人
	 */
	@ApiModelProperty(value = "审核人")
	private String auditPersonName;
	/**
	 * 审核人
	 */
	@ApiModelProperty(value = "审核人失败原因")
	private String auditFailCause;
	/**
	 * 报修图片
	 */
	@ApiModelProperty(value = "报修图片")
	private String repairsImgs;
	/**
	 * 问题描述
	 */
	@ApiModelProperty(value = "问题描述")
	private String problemDesc;
	/**
	 * 维修图片
	 */
	@ApiModelProperty(value = "维修图片")
	private String reworkImgs;
	/**
	 * 上报人名称
	 */
	@ApiModelProperty(value = "上报人名称")
	private String createPersonName;
	/**
	 * 是否作废 0否 1是
	 */
	@ApiModelProperty(value = "是否作废 0否 1是")
	private Integer isInvalid;
	/**
	 * 作废原因
	 */
	@ApiModelProperty(value = "作废原因")
	private String invalidCause;



}
