/*
 * Copyright ©2023 CJB-CNIT Team. All rights reserved
 */
package com.openhis.yb.domain;

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.redis.core.index.PathBasedRedisIndexDefinition;

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

/**
 * 【3203】清算申请记录
 *
 * @author SunJQ
 * @date 2025-04-30
 */
@Data
@Accessors(chain = true)
@TableName("yb_financial_apply_record")
@EqualsAndHashCode(callSuper = false)
public class FinancialApplyRecord {
    //主键
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    //医院id
    private Long orgId;

    //开始时间
    private Date begndate;

    //结束时间
    private Date enddate;

    //清算类别
    private String clrType;

    //医疗费总额
    private BigDecimal medfeeSumamt;

    //医保认可费用总额
    private BigDecimal medSumfee;

    //基金申报总额
    private BigDecimal fundAppySum;

    //现金支付金额
    private BigDecimal cashPayamt;

    //个人账户支出
    private BigDecimal acctPay;

    //申请人
    private Long praId;

    //入参
    private String param;

    //医保输出参数：申请清算id
    private String outResult;

    //申请状态
    private String status;

}
