package com.lframework.xingyun.sc.excel.purchase;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.lframework.starter.web.annotations.excel.ExcelRequired;
import com.lframework.starter.web.components.excel.ExcelModel;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@Data
public class PurchaseOrderImportModel implements ExcelModel {

  /**
   * 仓库ID
   */
  @ExcelIgnore
  private String scId;

  /**
   * 仓库编号
   */
  @ExcelRequired
  @ExcelProperty("仓库编号")
  private String scCode;

  /**
   * 供应商ID
   */
  @ExcelIgnore
  private String supplierId;

  /**
   * 供应商编号
   */
  @ExcelRequired
  @ExcelProperty("供应商编号")
  private String supplierCode;

  /**
   * 采购员ID
   */
  @ExcelIgnore
  private String purchaserId;

  /**
   * 采购员编号
   */
  @ExcelProperty("采购员编号")
  private String purchaserCode;

  /**
   * 预计到货日期
   */
  @ExcelProperty("预计到货日期")
  private Date expectArriveDate;

  /**
   * 商品ID
   */
  @ExcelIgnore
  private String productId;

  /**
   * 商品编号
   */
  @ExcelRequired
  @ExcelProperty("商品编号")
  private String productCode;

  /**
   * 采购价
   */
  @ExcelRequired
  @ExcelProperty("采购价")
  private BigDecimal purchasePrice;

  /**
   * 采购数量
   */
  @ExcelRequired
  @ExcelProperty("采购数量")
  private Integer purchaseNum;

  /**
   * 是否赠品
   */
  @ExcelRequired
  @ExcelProperty("是否赠品")
  private String gift;

  /**
   * 单据明细备注
   */
  @ExcelProperty("单据明细备注")
  private String detailDescription;

  /**
   * 单据备注
   */
  @ExcelProperty("单据备注")
  private String description;
}
