/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.security.trans.projectBudgetManagement.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.security.ht.entity.common.BaseEntity;

/**
 * 项目管理-项目采购材料实体类
 *
 * @author BladeX
 * @since 2022-08-05
 */
@Data
@TableName("T_PROJECT_PURCHASE")
@ApiModel(value = "ProjectPurchase对象", description = "项目管理-项目采购材料")
public class ProjectPurchase extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* id
	*/
		@ApiModelProperty(value = "id")
		@TableId("ID")
	private String id;
	/**
	* 项目管理主表关联id
	*/
		@ApiModelProperty(value = "项目管理主表关联id")
		@TableField("PROJECT_LINK_ID")
	private String projectLinkId;
	/**
	* 采购时间
	*/
		@ApiModelProperty(value = "采购时间")
		@TableField("PURCHASE_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date purchaseTime;

	/**
	* 公开招标材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "公开招标材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("PUBLIC_BIDDING_MATERIALS")
	private String publicBiddingMaterials;
	/**
	* 邀请招标材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "邀请招标材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("INVITE_BIDDING_MATERIALS")
	private String inviteBiddingMaterials;
	/**
	* 询价采购材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "询价采购材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("INQUIRY_PURCHASE_MATERIALS")
	private String inquiryPurchaseMaterials;
	/**
	* 单一来源采购材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "单一来源采购材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("SINGLE_SOURCE_PURCHASE_MATERIALS")
	private String singleSourcePurchaseMaterials;
	/**
	* 竞争性谈判材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "竞争性谈判材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("COMPETITIVE_NEGOTIATION_MATERIALS")
	private String competitiveNegotiationMaterials;
	/**
	* 逻辑删除标识符;0-删除;1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除;1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;

	/**
	 * 采购金额
	 */
	@ApiModelProperty(value = "采购金额")
	@TableField("PURCHASE_AMT")
	private BigDecimal purchaseAmt;

	/**
	 * 项目采购其他材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	 */
	@ApiModelProperty(value = "项目采购其他材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
	@TableField("OTHER_MATERIALS")
	private String otherMaterials;
}
