package com.jwipc.tender.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

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

/**
 * <p>
 * 招标定价审批记录表
 * </p>
 *
 * @author JIEZ
 * @since 2024-05-15
 */
@Getter
@Setter
@TableName("t_tender_approve")
public class TenderApprove implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 数据主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 询价单ID
     */
    private Long tenderId;

    /**
     * 审批结果 0:拒绝 1:同意
     */
    private Integer approveResult;

    /**
     * 审批意见
     */
    private String approveOpinion;

    /**
     * 审批用户ID
     */
    private Long approveUserId;

    /**
     * 审批用户编码
     */
    private String approveUserCode;

    /**
     * 审批用户姓名
     */
    private String approveUserName;

    /**
     * 审批节点 1:主管确认 2:价格确认
     */
    private Integer approveNode;

    /**
     * 审批时间
     */
    private LocalDateTime approveTime;
}
