package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 绑定记录明细对象 oa_binding_item_detail
 *
 * @author ruoyi
 * @date 2025-06-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("oa_binding_item_detail")
public class OaBindingItemDetail extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 明细ID
     */
    @TableId(value = "binding_item_id")
    private Long bindingItemId;
    /**
     * 绑定记录ID → oa_employee_template_binding.binding_id
     */
    private Long bindingId;
    /**
     * 模板类型
     */
    private String templateType;
    /**
     * 明细ID → oa_insurance_template_detail.insurance_detail_id 或 oa_salary_template_detail.salary_detail_id
     */
    private Long itemDetailId;
    /**
     * 实际缴纳/支付金额
     */
    private BigDecimal paidAmount;
    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;
    /**
     * 备注
     */
    private String remark;

}
