package com.bonus.canteen.core.supply.purchase.domain.bo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@ApiModel(
   value = "DrpMaterialInquirySupplier对象",
   description = "供应商询价供应商表"
)
@Data
public class DrpMaterialInquirySupplier {
   @ApiModelProperty("货品招标供应商主键id")
   @TableId
   private Long materialInquirySupplierId;
   @ApiModelProperty("货品招标单号")
   private String materialInquiryId;
   @ApiModelProperty("报价供应商id")
   private Long quoteSupplierId;
   @ApiModelProperty("最新报价批次")
   private Long leastBatchId;
   @ApiModelProperty("状态(1已报价,2未报价,3已中标,4未中标)")
   private Integer status;
   @ApiModelProperty("供应商意向中标状态(3接受4拒绝)")
   private Integer smTargetPriceStatus;
   @TableField(
           value = "createBy",
           fill = FieldFill.INSERT
   )
   private String createBy;
   @TableField(
           value = "createTime",
           fill = FieldFill.INSERT
   )
   private LocalDateTime createTime;
   @TableField(
           value = "updateBy",
           fill = FieldFill.UPDATE
   )
   private String updateBy;
   @TableField(
           value = "updateTime",
           fill = FieldFill.UPDATE
   )
   private LocalDateTime updateTime;
}
