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

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
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;

/**
 * (TMonthlyProjectPurchase)表实体类
 *
 */
@Data
@TableName("t_monthly_project_purchase")
public class TMonthlyProjectPurchase extends BaseDO {

    @Schema(description = "主键", example = "1")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    //所在项目名称
    @ExcelOut(name = "所在项目名称", sort = 1)
    private String projectName;
    //采购事项名称
    @ExcelOut(name = "采购事项名称", sort = 2)
    private String procurementMatters;
    //采购内容
    @ExcelOut(name = "采购内容", sort = 3)
    private String procurementContent;
    //事项类型
    @ExcelOut(name = "事项类型", sort = 4)
    private String matterType;
    //采购方式
    @ExcelOut(name = "采购方式", sort = 5)
    private String purchasingMethod;
    //招标代理机构
    @ExcelOut(name = "招标代理机构", sort = 6)
    private String tenderingAgency;
    //预估合同价
    @ExcelOut(name = "预估合同价", sort = 7)
    private String contractPriceEstimated;
    //合同价
    @ExcelOut(name = "合同价", sort = 8)
    private String contractPrice;
    //中标价
    @ExcelOut(name = "中标价", sort = 9)
    private String bidPrice;
    //采购时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelOut(name = "采购时间", sort = 10,dateFormat = "yyyy-MM-dd")
    private Date purchaseTime;
    //合同签订时间
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelOut(name = "合同签订时间", sort = 11,dateFormat = "yyyy-MM-dd")
    private Date contractSigningTime;
    //合同相对方
    @ExcelOut(name = "合同相对方", sort = 12)
    private String contractCounterparty;
    //创建人
    @ExcelOut(name = "创建人", sort = 13)
    private String creator;
    //备注
    @ExcelOut(name = "备注", sort = 14)
    private String remark;


}

