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

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_CONTRACT")
@ApiModel(value = "ProjectContract对象", description = "项目管理-项目合同")
public class ProjectContract 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("CONTRACT_AMT")
	private BigDecimal contractAmt;

	/**
	* 合同签订时间
	*/
		@ApiModelProperty(value = "合同签订时间")
		@TableField("CONTRACT_TIME")
		@JsonFormat(pattern = "yyyy-MM-dd")
	private Date contractTime;

	/**
	 * 合同到期时间
	 */
	@ApiModelProperty(value = "合同到期时间")
	@TableField("contract_end_time")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date contractEndTime;

	/**
	* 合同原件（法审后）（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "合同原件（法审后）（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("ORIGINAL_CONTRACT")
	private String originalContract;
	/**
	* 补充材料（存放该附件的标识符，对应于附件表里的‘group_name’）
	*/
		@ApiModelProperty(value = "补充材料（存放该附件的标识符，对应于附件表里的‘group_name’）")
		@TableField("SUPPLEMENT_MATERIALS")
	private String supplementMaterials;
	/**
	* 逻辑删除标识符;0-删除;1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除;1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;


	/**
	 * 相关方（外包公司）关联id
	 */
	@ApiModelProperty(value = "相关方（外包公司）关联id")
	@TableField("OUT_COMPANY")
	private String outCompany;

	/**
	 * 相关方（外包公司）名称
	 */
	@ApiModelProperty(value = "相关方（外包公司）名称")
	@TableField("OUT_COMPANY_NAME")
	private String outCompanyName;

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

	/**
	 * 部门id
	 */
	@ApiModelProperty(value = "部门id")
	@TableField("DEPT_ID")
	private String deptId;

	/**
	 * 法审后意见（存放该附件的标识符，对应于附件表里的‘group_name’）
	 */
	@ApiModelProperty(value = "法审后意见（存放该附件的标识符，对应于附件表里的‘group_name’）")
	@TableField("AFTER_LEGAL_DEVICE")
	private String afterLegalDevice;
	/**
	 * 是否含质保金 0-否 1-是
	 */
	@ApiModelProperty(value = "是否含质保金 0-否 1-是")
	@TableField("whether_qrm")
	private String whetherQrm;
	/**
	 * 质保金金额
	 */
	@ApiModelProperty(value = "质保金金额")
	@TableField("qr_money")
	private BigDecimal qrMoney;

}
