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

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

import java.time.LocalDateTime;

@ApiModel(
   value = "DrpMaterialWinBidRecords对象",
   description = "原料中标记录表"
)
@Data
public class DrpMaterialWinBidRecords {
   @ApiModelProperty("记录ID")
   private Long recordId;
   @ApiModelProperty("原料id")
   private Long materialId;
   @ApiModelProperty("中标价")
   private Integer winPrice;
   @ApiModelProperty("中标日期")
   private LocalDateTime winDate;
   @ApiModelProperty("中标供应商")
   private Long winSupplierId;
   @ApiModelProperty("创建人")
   @TableField(
           value = "createBy",
           fill = FieldFill.INSERT
   )
   private String createBy;
   @ApiModelProperty("创建时间")
   @TableField(
           value = "createTime",
           fill = FieldFill.INSERT
   )
   private LocalDateTime createTime;
   @ApiModelProperty("更新人")
   @TableField(
           value = "updateBy",
           fill = FieldFill.UPDATE
   )
   private String updateBy;
   @TableField(
           value = "updateTime",
           fill = FieldFill.UPDATE
   )
   @ApiModelProperty("更新时间")
   private LocalDateTime updateTime;
   @ApiModelProperty("农贸市场价格")
   private Long farmersMarketPrice;
   @ApiModelProperty("中标价格有效期开始")
   private LocalDateTime bidValidityStartTime;
   @ApiModelProperty("中标价格有效期结束")
   private LocalDateTime bidValidityEndTime;
   @ApiModelProperty("货品招标单号")
   private String materialInquiryId;
}
