/**
 * BladeX Commercial License Agreement
 * Copyright (c) 2018-2099, https://bladex.cn. All rights reserved.
 * <p>
 * Use of this software is governed by the Commercial License Agreement
 * obtained after purchasing a license from BladeX.
 * <p>
 * 1. This software is for development use only under a valid license
 * from BladeX.
 * <p>
 * 2. Redistribution of this software's source code to any third party
 * without a commercial license is strictly prohibited.
 * <p>
 * 3. Licensees may copyright their own code but cannot use segments
 * from this software for such purposes. Copyright of this software
 * remains with BladeX.
 * <p>
 * Using this software signifies agreement to this License, and the software
 * must not be used for illegal purposes.
 * <p>
 * THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY. The author is
 * not liable for any claims arising from secondary or illegal development.
 * <p>
 * Author: Chill Zhuang (bladejava@qq.com)
 */
package org.springblade.zhaocai.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 年度招采计划实体类
 *
 * @author Chill
 */
@Data
@TableName("zc_procurement_plan")
@EqualsAndHashCode(callSuper = true)
public class ProcurementPlan extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	/**
	 * 申请人
	 */
	@Schema(description = "申请人")
	private String applicant;

	/**
	 * 申请时间
	 */
	@Schema(description = "申请时间")
	private LocalDateTime applyTime;

	/**
	 * 联系电话
	 */
	@Schema(description = "联系电话")
	private String phone;

	/**
	 * 所属公司
	 */
	@Schema(description = "所属公司")
	private String company;

	/**
	 * 单据号
	 */
	@Schema(description = "单据号")
	private String billNo;

	/**
	 * 年度
	 */
	@Schema(description = "年度")
	private String year;

	/**
	 * 需求部门
	 */
	@Schema(description = "需求部门")
	private String dept;

	/**
	 * 需求公司
	 */
	@Schema(description = "需求公司")
	private String applyCompany;

	/**
	 * 年度预估总金额(万元)
	 */
	@Schema(description = "年度预估总金额(万元)")
	private BigDecimal estimatedAmount;

	/**
	 * 预估总金额大写
	 */
	@Schema(description = "预估总金额大写")
	private String amountUpper;

	/**
	 * 备注
	 */
	@Schema(description = "备注")
	private String remark;

	/**
	 * 流程当前节点
	 */
	@Schema(description = "流程当前节点")
	private String flowStatus;

	/**
	 * 流程实例ID
	 */
	@Schema(description = "流程实例ID")
	private String processInstanceId;

}
