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.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@TableName("drp_procurement_contract")
@ApiModel(
   description = "采购合同主表"
)
@Data
public class DrpProcurementContract implements Serializable {
   private static final long serialVersionUID = -39149149295215556L;
   @TableId
   private String contractId;
   private Long supplierId;
   private Integer commitStatus;
   private Integer contractStatus;
   private Long contractAmount;
   private Long orderGoodsAmount;
   private LocalDate contractSigningTime;
   private String remark;
   private Long canteenId;
   private String contractTitle;
   private LocalDateTime contractStartTime;
   private LocalDateTime contractEndTime;
   private Integer approveStatus;
   private Long processInstanceId;
   private String approveBy;
   private LocalDateTime approveTime;
   private String approveRemark;
   private BigDecimal totalNum;
   private Integer categoryNum;
   private Integer payMoneyStyle;
   private LocalDate payMoneyDate;
   private String collectMoneyBank;
   private String collectMoneyAccount;
   private String collectMoneyAccountName;
   private String payRemark;
   private String contractAttachment;
   private String contractPerson;
   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;
   @TableField(
           value = "updateTime",
           fill = FieldFill.UPDATE
   )
   private LocalDateTime updateTime;
}
