package com.bonus.canteen.core.drp.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import lombok.Generated;

@ApiModel("根据原料名称模糊查询原料配置信息")
public class AndroidSearchMaterialVO implements Serializable {
   @ApiModelProperty("原料id")
   private Long materialId;
   @ApiModelProperty("原料名称")
   private String materialName;
   @ApiModelProperty("原料编码")
   private String materialCode;
   @ApiModelProperty("类别名称")
   private String categoryName;
   @ApiModelProperty("供应商id")
   private Long supplierId;
   @ApiModelProperty("供应商名称")
   private String supplierName;
   @ApiModelProperty("计量单位id")
   private Long unitId;
   @ApiModelProperty("计量单位名称")
   private String unitName;
   @ApiModelProperty("单位类型(1-按份,2-称重)")
   private Integer weighType;
   @ApiModelProperty("换算比率(换算成?g)")
   private BigDecimal rate;
   @ApiModelProperty("参考价格")
   private Integer unitPrice;
   @ApiModelProperty("到期时间(保质期)")
   private LocalDate expireTime;

   @Generated
   public Long getMaterialId() {
      return this.materialId;
   }

   @Generated
   public String getMaterialName() {
      return this.materialName;
   }

   @Generated
   public String getMaterialCode() {
      return this.materialCode;
   }

   @Generated
   public String getCategoryName() {
      return this.categoryName;
   }

   @Generated
   public Long getSupplierId() {
      return this.supplierId;
   }

   @Generated
   public String getSupplierName() {
      return this.supplierName;
   }

   @Generated
   public Long getUnitId() {
      return this.unitId;
   }

   @Generated
   public String getUnitName() {
      return this.unitName;
   }

   @Generated
   public Integer getWeighType() {
      return this.weighType;
   }

   @Generated
   public BigDecimal getRate() {
      return this.rate;
   }

   @Generated
   public Integer getUnitPrice() {
      return this.unitPrice;
   }

   @Generated
   public LocalDate getExpireTime() {
      return this.expireTime;
   }

   @Generated
   public void setMaterialId(final Long materialId) {
      this.materialId = materialId;
   }

   @Generated
   public void setMaterialName(final String materialName) {
      this.materialName = materialName;
   }

   @Generated
   public void setMaterialCode(final String materialCode) {
      this.materialCode = materialCode;
   }

   @Generated
   public void setCategoryName(final String categoryName) {
      this.categoryName = categoryName;
   }

   @Generated
   public void setSupplierId(final Long supplierId) {
      this.supplierId = supplierId;
   }

   @Generated
   public void setSupplierName(final String supplierName) {
      this.supplierName = supplierName;
   }

   @Generated
   public void setUnitId(final Long unitId) {
      this.unitId = unitId;
   }

   @Generated
   public void setUnitName(final String unitName) {
      this.unitName = unitName;
   }

   @Generated
   public void setWeighType(final Integer weighType) {
      this.weighType = weighType;
   }

   @Generated
   public void setRate(final BigDecimal rate) {
      this.rate = rate;
   }

   @Generated
   public void setUnitPrice(final Integer unitPrice) {
      this.unitPrice = unitPrice;
   }

   @Generated
   public void setExpireTime(final LocalDate expireTime) {
      this.expireTime = expireTime;
   }
}
