package cn.iocoder.yudao.module.knowledge.entity;

import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import cn.iocoder.yudao.module.knowledge.annotation.ExcelOut;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 非招标采购方式表(TNotProcurementBid)表实体类
 *
 * @author makejava
 * @since 2024-04-12 10:31:34
 */
@Data
@TableName("t_not_procurement_bid")
public class TNotProcurementBid extends BaseDO{

    @Schema(description = "主键", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "招标计划id", example = "2")
    private Long bidPlanId;

    @Schema(description = "类型 0:竞争性谈判 1:单一来源 2:询比价 3:其他", example = "0")
    private Integer type;

    @Schema(description = "序号", example = "1")
    private String orders;

    @Schema(description = "采购事项", example = "采购事项示例")
    private String purchaseMatters;

    @Schema(description = "采购内容(采购名称)", example = "采购内容示例")
    private String purchaseContent;

    @Schema(description = "预估价格（万元）", example = "100.0")
    private Double estimatedPrice;

    @Schema(description = "计划时间", example = "2024-04-23T12:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date planTime;

    @TableField(exist = false)
    private String planTimes;

    @Schema(description = "评审办法", example = "评审办法示例")
    private String evaluationMethod;

    @Schema(description = "确认方式", example = "确认方式示例")
    private String confirmationMode;

    @Schema(description = "创建者", example = "John Doe")
    private String creator;
    @Schema(
            description = "创建者id",
            example = "1"
    )
    private String creatorId;



}
