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_insurance_template_detail
 *
 * @author ruoyi
 * @date 2025-06-23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("oa_insurance_template_detail")
public class OaInsuranceTemplateDetail extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 明细ID
     */
    @TableId(value = "insurance_detail_id")
    private Long insuranceDetailId;
    /**
     * 模板ID → oa_insurance_template.insurance_template_id
     */
    private Long insuranceTemplateId;
    /**
     * 险种代码，如 pension、unemployment…
     */
    private String insuranceType;
    /**
     * 金额或比例
     */
    private BigDecimal amount;
    /**
     * 删除标志
     */
    @TableLogic
    private Integer delFlag;
    /**
     * 备注
     */
    private String remark;

}
