package com.bonus.material.ma.domain;

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

/**
 * 机具设备管理对象 ma_machine
 * 
 * @author xsheng
 * @date 2024-09-27
 */


@Data
@ToString
public class Machine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机具ID */
    private Long maId;

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

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

    /** 原编号 */
    @Excel(name = "原编号")
    @ApiModelProperty(value = "原编号")
    private String preCode;

    /** 机具状态（数据字典） */
    @Excel(name = "机具状态")
    @ApiModelProperty(value = "机具状态")
    private String maStatus;

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

    /** 购置价格 */
    @Excel(name = "购置价格")
    @ApiModelProperty(value = "购置价格")
    private BigDecimal buyPrice;

    /** 厂家 */
    @Excel(name = "厂家")
    @ApiModelProperty(value = "厂家")
    private String maVender;

    /** 出厂日期 */
    @ApiModelProperty(value = "出厂日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outFacTime;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    @ApiModelProperty(value = "出厂编号")
    private String outFacCode;

    /** 固定资产编号 */
    @Excel(name = "固定资产编号")
    @ApiModelProperty(value = "固定资产编号")
    private String assetsCode;

    /** 本次检验人 */
    @Excel(name = "本次检验人")
    @ApiModelProperty(value = "本次检验人")
    private String checkMan;

    /** 本次检验日期 */
    @ApiModelProperty(value = "本次检验日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本次检验日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date thisCheckTime;

    /** 下次检验日期 */
    @ApiModelProperty(value = "下次检验日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次检验日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextCheckTime;

    /** gps编号 */
    @Excel(name = "gps编号")
    @ApiModelProperty(value = "gps编号")
    private String gpsCode;

    /** rfid编号 */
    @Excel(name = "rfid编号")
    @ApiModelProperty(value = "rfid编号")
    private String rfidCode;

    /** erp编号 */
    @Excel(name = "erp编号")
    @ApiModelProperty(value = "erp编号")
    private String erpCode;

    /** 调拨编号 */
    @Excel(name = "调拨编号")
    @ApiModelProperty(value = "调拨编号")
    private String transferCode;

    /** 出入库次数 */
    @Excel(name = "出入库次数")
    @ApiModelProperty(value = "出入库次数")
    private Long inOutNum;

    /** 购置批次 */
    @Excel(name = "购置批次")
    @ApiModelProperty(value = "购置批次")
    private String buyTask;

    /** 所在仓库 */
    @Excel(name = "所在仓库")
    @ApiModelProperty(value = "所在仓库")
    private String ownHouse;

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

    /** 检验人员 */
    @Excel(name = "检验人员")
    @ApiModelProperty(value = "检验人员")
    private String inspectMan;

    /** 检验结论 */
    @Excel(name = "检验结论")
    @ApiModelProperty(value = "检验结论")
    private String inspectStatus;

    /** 联系电话 */
    @Excel(name = "联系电话")
    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "关键字")
    private String keyWord;

    @ApiModelProperty(value = "是否是固定资产 0 是，1 否")
    private Integer isAssets;

    @ApiModelProperty("物品种类-二级")
    private String materialType;

    @ApiModelProperty("设备类型-三级")
    private String materialName;

    @ApiModelProperty("规格型号-四级")
    private String materialModel;

    @ApiModelProperty("资产属性ID")
    private String assetsId;

}
