/*
 *      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.AllArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.NoArgsConstructor;
import org.security.ht.entity.common.BaseEntity;

/**
 * 项目管理-项目管理信息主表实体类
 *
 * @author BladeX
 * @since 2022-08-05
 */
@Data
@TableName("T_PROJECT")
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "Project对象", description = "项目管理-项目管理信息主表")
public class Project extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	* 项目类型(1-建设类，2-服务类)
	*/
		@ApiModelProperty(value = "项目类型（1-建设类，2-服务类)")
		@TableField("PROJECT_TYPE")
	private String projectType;
	/**
	* 项目编码
	*/
		@ApiModelProperty(value = "项目编码")
		@TableField("PROJECT_CODE")
	private String projectCode;
	/**
	* 项目名称
	*/
		@ApiModelProperty(value = "项目名称")
		@TableField("PROJECT_NAME")
	private String projectName;
	/**
	* 项目描述
	*/
		@ApiModelProperty(value = "项目描述")
		@TableField("PROJECT_DESCRIBE")
	private String projectDescribe;
	/**
	* 父级项目编码
	*/
		@ApiModelProperty(value = "父级项目编码")
		@TableField("PARENT_PROJECT_CODE")
	private String parentProjectCode;
	/**
	* 关联预算编码
	*/
		@ApiModelProperty(value = "关联预算编码")
		@TableField("BUDGET_LINK_CODE")
	private String budgetLinkCode;
	/**
	* 关联预算名称
	*/
		@ApiModelProperty(value = "关联预算名称")
		@TableField("BUDGET_LINK_NAME")
	private String budgetLinkName;
	/**
	* 部门id
	*/
		@ApiModelProperty(value = "部门id")
		@TableField("DEPT_ID")
	private String deptId;

	/**
	 * 部门名称
	 */
	@ApiModelProperty(value = "部门名称")
	@TableField("DEPT_NAME")
	private String deptName;
	/**
	* 逻辑删除标识符;0-删除;1-正常
	*/
		@ApiModelProperty(value = "逻辑删除标识符;0-删除;1-正常")
		@TableField("DEL_FLAG")
		@TableLogic
	private String delFlag;

	/**
	 * 状态（0-暂存，1-保存（不可删除）,2-结项确认（不可修改）,3-项目考评中，4-项目考评结束）
	 */
	@ApiModelProperty(value = "状态（0-暂存，1-保存（不可删除），2-结项确认（不可修改）,3-项目考评中，4-项目考评结束")
	@TableField("STATE")
	private String state;

	/**
	 * 项目节点状态（0-开始，1-立项，2-采购，3-合同，4-实施，5-验收, 6-结项,7-审阅通过）
	 */
	@ApiModelProperty(value = "项目节点状态（0-开始，1-立项，2-采购，3-合同，4-实施，5-验收, 6-结项,7-审阅通过）")
	@TableField("PROJECT_STATUS")
	private String projectStatus;

	/**
	 * 立项日期
	 */
	@ApiModelProperty(value = "立项日期")
	@TableField("PROJECT_INITIATION_DATE")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date projectInitiationDate;
	/**
	 * 项目考评得分
	 */
	@ApiModelProperty(value = "项目考评得分")
	@TableField("SCORE")
	private BigDecimal score;

}
