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 shenyang.ou
 * @since 2024-02-29
 */
@Getter
@Setter
@TableName("t_tender_question")
public class TenderQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

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

    /**
     * 问题
     */
    private String question;

    /**
     * 答案
     */
    private String answer;

    /**
     * 招标单id
     */
    private Long tenderId;

    /**
     * 提问时间
     */
    private LocalDateTime questionTime;

    /**
     * 回答时间
     */
    private LocalDateTime answerTime;

    /**
     * 问题附件id多个逗号分隔
     */
    private String questionFileId;

    /**
     * 答案附件id多个逗号分隔
     */
    private String answerFileId;

    /**
     * 问题用户id
     */
    private Long questionUserId;

    /**
     * 回答用户id
     */
    private Long answerUserId;
    /**
     * 是否公开1:是;0:否
     */
    private Integer allFlag;

    /**
     * 发起类型1:采购发起;2:供应商发起
     */
    private Integer sendType;
}
