package com.bonus.material.ma.vo;


import com.bonus.common.core.annotation.Excel;
import com.bonus.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 *
 * @author Dingjie
 * @date
 */
@ApiModel(value="com.bonus.sgzb.base.api.domain.MaMachine")
@Data
public class MaMachine extends BaseEntity {
  /**
   * 机具ID
   */
  @ApiModelProperty(value = "机具ID")
  private long maId;
  /**
   * 类型ID
   */
  @ApiModelProperty(value = "类型ID")
  private long typeId;
  /**
   * 类型ID
   */
  @ApiModelProperty(value = "资产属性id")
  private long propId;
  /**
   * 物品种类
   */
  @ApiModelProperty(value = "物品种类id")
  private long itemId;
  /**
   * 设备类型
   */
  @ApiModelProperty(value = "设备类型id")
  private long deviceId;
  /**
   * 物品种类
   */
  @ApiModelProperty(value = "物品种类")
  @Excel(name = "物品种类", sort = 1)
  private String itemType;
  /**
   * 设备类型
   */
  @ApiModelProperty(value = "设备类型")
  @Excel(name = "设备类型", sort = 2)
  private String deviceType;
  /**
   * 规格型号
   */
  @ApiModelProperty(value = "规格型号")
  @Excel(name = "规格型号", sort = 3)
  private String specificationType;
  /**
   * 机具编号
   */
  @ApiModelProperty(value = "机具编号")
  @Excel(name = "设备编码", sort = 4)
  private String maCode;
  /**
   * 原编号
   */
  @ApiModelProperty(value = "原编号")
  @Excel(name = "设备原编号", sort = 8)
  private String preCode;
  /**
   * 机具状态（数据字典）
   */
  @ApiModelProperty(value = "机具状态（数据字典）")
  private String maStatus;
  /**
   * 机具状态（数据字典）
   */
  @ApiModelProperty(value = "机具状态（数据字典）名称")
  @Excel(name = "设备状态", sort = 6)
  private String maStatusName;
  /**
   * 二维码
   */
  @ApiModelProperty(value = "二维码")
  @Excel(name = "二维码", sort = 9)
  private String qrCode;
  /**
   * 购置价
   */
  @ApiModelProperty(value = "购置价")
  private String buyPrice;
  /**
   * 厂家
   */
  @ApiModelProperty(value = "厂家")
  private String maVender;
  /**
   * 出厂日期
   */
  @ApiModelProperty(value = "出厂日期")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date outFacTime;
  /**
   * 出厂编号
   */
  @ApiModelProperty(value = "出厂编号")
  private String outFacCode;
  /**
   * 固定资产编号
   */
  @ApiModelProperty(value = "固定资产编号")
  @Excel(name = "固定资产编号", sort = 7)
  private String assetsCode;
  /**
   * 本次检验人
   */
  @ApiModelProperty(value = "本次检验人")
  private String checkMan;
  /**
   * 本次检验日期
   */
  @ApiModelProperty(value = "本次检验日期")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date thisCheckTime;
  /**
   * 下次检验日期
   */
  @ApiModelProperty(value = "下次检验日期")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
  private Date nextCheckTime;
  /**
   * gps编号
   */
  @ApiModelProperty(value = "gps编号")
  private String gpsCode;
  /**
   * rfid编号
   */
  @ApiModelProperty(value = "rfid编号")
  private String rfidCode;
  /**
   * erp编号
   */
  @ApiModelProperty(value = "erp编号")
  private String erpCode;
  /**
   * 调拨编号
   */
  @ApiModelProperty(value = "调拨编号")
  private String transferCode;
  /**
   * 出入库次数
   */
  @ApiModelProperty(value = "出入库次数")
  private String inOutNum;
  /**
   * 购置批次
   */
  @ApiModelProperty(value = "购置批次")
  @Excel(name = "采购单号", sort = 5)
  private String buyTask;
  /**
   * 所在仓库
   */
  @ApiModelProperty(value = "所在仓库")
  private String ownHouse;
  /**
   * 数据所属组织
   */
  @ApiModelProperty(value = "数据所属组织")
  private String companyId;

  /**
   * 绑定人
   */
  @ApiModelProperty(value = "绑定人")
  private String binder;
  /**
   * 标签编号
   */
  @ApiModelProperty(value = "标签编号")
  private String labelCode;


  @ApiModelProperty(value = "筛选名称")
  private String keyWord;

  @ApiModelProperty(value = "开始时间")
  private String beginTime;

  @ApiModelProperty(value = "结束时间")
  private String endTime;

  @ApiModelProperty(value = "仓库名称")
  @Excel(name = "所在仓库", sort = 10)
  private String ownHouseName;
  @ApiModelProperty(value = "仓库id")
  private Long houseId;
  @ApiModelProperty(value = "厂家名称")
  private String supplier;
  /**
   * 检验人员
   */
  private String inspectMan;
  /**
   * 检验结论
   */
  private String inspectStatus;
  /**
   * 联系电话
   */
  private String phone;
  /**
   * 领料单位
   */
  private String leaseUnit;
  /**
   * 领料工程
   */
  private String leasePro;
  /**
   * 领料时间
   */
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date leaseTime;
  /**
   * 退料单位
   */
  private String backUnit;
  /**
   * 退料工程
   */
  private String backPro;
  /**
   * 退料时间
   */
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date backTime;

  @ApiModelProperty(value = "1：二维码绑定标识  2：rfid绑定标识")
  private Integer flag;

  @ApiModelProperty(value = "数据来源（0新购 1盘点 2数据推送）")
  private Integer souceBy;

  @ApiModelProperty(value = "数据推送id")
  private Integer dataReceiveId;

  /** 导出选中列表 */
  private List<Long> dataCondition;

  @ApiModelProperty(value = "绑定IOT设备数量")
  private Integer IotNum;

  @ApiModelProperty(value = "Iot定位设备编号")
  private String iotCode;

  @ApiModelProperty(value = "推送到租赁标识0：未推送  1：推送")
  private Integer pushStatus;
}
