package com.bonus.material.purchase.domain;

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 新购验收编号管理对象 bm_qrcode_info
 * 
 * @author xsheng
 * @date 2024-10-16
 */
@Data
@ToString
public class PurchaseMacodeInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 类型ID */
    @Excel(name = "类型ID")
    @ApiModelProperty(value = "类型ID")
    private Long typeId;

    /** 机具编号 */
    @Excel(name = "机具编号")
    @ApiModelProperty(value = "机具编号")
    private String maCode;

    /** 二维码 */
    @Excel(name = "二维码")
    @ApiModelProperty(value = "二维码")
    private String qrCode;

    /** 是否是固定资产编号(0,是 1,否) */
    @Excel(name = "是否是固定资产编号(0,是 1,否)")
    @ApiModelProperty(value = "是否是固定资产编号(0,是 1,否)")
    private String fixCode;

    /** 编号类型 */
    @Excel(name = "编号类型")
    @ApiModelProperty(value = "编号类型")
    private String codeType;

    /** 状态（0,待入库 1,已入库） */
    @Excel(name = "状态", readConverterExp = "0=,待入库,1=,已入库")
    private String status;

    private String keyWord;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private Long companyId;

    @ApiModelProperty(value = "物资单位名称")
    private String unitName;

    @ApiModelProperty(value = "规格名称")
    private String typeName;

    @ApiModelProperty(value = "物资名称--规格parent类型")
    private String maTypeName;

    /** 出厂日期 */
    @ApiModelProperty(value = "出厂日期")
    @Excel(name = "出厂日期", width = 15)
    private String productionTime;

    @ApiModelProperty(value = "出厂编码")
    private String outFacCode;
}
