/*
 *      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 java.math.BigDecimal;

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.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_PAY_PLAN")
@ApiModel(value = "ProjectPayPlan对象", description = "项目管理-付款计划及跟踪")
public class ProjectPayPlan extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 项目管理主表关联id
	*/
		@ApiModelProperty(value = "项目管理主表关联id")
		@TableField("PROJECT_LINK_ID")
	private String projectLinkId;
	/**
	* 计划付款时间
	*/
		@ApiModelProperty(value = "计划付款时间")
		@TableField("PLAN_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date planTime;
	/**
	* 计划付款金额
	*/
		@ApiModelProperty(value = "计划付款金额")
		@TableField("PLAN_AMT")
	private BigDecimal planAmt;
	/**
	* 实际付款时间
	*/
		@ApiModelProperty(value = "实际付款时间")
		@TableField("ACTUAL_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date actualTime;
	/**
	* 实际付款金额
	*/
		@ApiModelProperty(value = "实际付款金额")
		@TableField("ACTUAL_AMT")
	private BigDecimal actualAmt;
	/**
	* 付款阶段
	*/
		@ApiModelProperty(value = "付款阶段")
		@TableField("PAYMENT_STAGE")
	private String paymentStage;
	/**
	* 发票（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "发票（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("INVOICE")
	private String invoice;
	/**
	* 备注
	*/
		@ApiModelProperty(value = "备注")
		@TableField("REMARK")
	private String remark;
	/**
	* 逻辑删除标识符;0-删除;1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除;1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;
	/**
	 * 付款类型 1-质保金付款 2-其他
	 */
	@ApiModelProperty(value = "付款类型 1-质保金付款 2-其他")
	@TableField("TYPE")
	private String type;
	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;

}
