package com.kcim.dao.model;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 完全成本法项目成本计算汇总明细表
 * 
 * @author Wang.YS

 * @date 2024-01-19 15:53:57
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@TableName("compute_project_group_cost_detail")
public class ComputeProjectGroupCostDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer id;
	/**
	 * 医院id
	 */
	private Long hospId;

	private String computeDate;
	/**
	 * 项目成本主键
	 */
	private Integer projectCostId;
	/**
	 * 报表项目类别
	 */
	private String type;
	/**
	 * 计算结果
	 */
	private BigDecimal computeResult;
	/**
	 * 创建人
	 */
	private String createUser;
	/**
	 * 创建时间
	 */
	private Date createTime;
	/**
	 * 更新人
	 */
	private String updateUser;
	/**
	 * 更新时间
	 */
	private Date updateTime;
	/**
	 * 删除人
	 */
	private String deleteUser;
	/**
	 * 删除时间
	 */
	private Date deleteTime;
	/**
	 * 删除标志  0正常 1作废
	 */
	@TableLogic(value = "0",delval = "1")
	private Integer delFlag;


	@TableField(exist = false)
	private Integer index;

	private BigDecimal computeSingleResult;

	private BigDecimal standComputeResult;

	private BigDecimal standComputeSingleResult;

	/**
	 * 项目成本计算主表
	 */
	@TableField(exist = false)
	ComputeProjectCost computeProjectCost;

}
