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 com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

@TableName("drp_market_price")
@ApiModel(
   description = "市场价格采集主表"
)
@Data
public class DrpMarketPrice implements Serializable {
   private static final long serialVersionUID = 215187299766803968L;
   @TableId
   private String harvestId;
   private LocalDate harvestTime;
   private Integer commitStatus;
   private Long harvestUserId;
   private String harvestSource;
   private Integer delFlag;
   @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;
   @ApiModelProperty("更新时间")
   @TableField(
           value = "updateTime",
           fill = FieldFill.UPDATE
   )
   private LocalDateTime updateTime;
   @ApiModelProperty("区域ID")
   private Long areaId;

}
